Vulnerability · Published Dec 28, 2023 · Assigned by GitHub_M
CVE-2023-52079Conversion of property names to strings can trigger infinite recursion
Medium 6.8
In plain English
A medium-severity security flaw in msgpackr from kriszyp. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
msgpackr is a fast MessagePack NodeJS/JavaScript implementation. Prior to 1.10.1, when decoding user supplied MessagePack messages, users can trigger stuck threads by crafting messages that keep the decoder stuck in a loop. The fix is available in v1.10.1. Exploits seem to require structured cloning, replacing the 0x70 extension with your own (that throws an error or does something other than recursive referencing) should mitigate the issue.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | msgpackr | 1.10.1 | GHSA-7hpj-7hhx-2fgx |
Affected products (as reported)
Weakness: CWE-674, CWE-754 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H