What’s Vulnerable › Vulnerabilities
CVE-2023-52079: Conversion of property names to strings can trigger infinite recursion
- Severity: medium (CVSS 6.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2023-12-28 · updated 2026-06-17
- Weakness: CWE-674
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 products
- kriszyp msgpackr: before 1.10.1 — fixed in 1.10.1
How to fix
Upgrade to a fixed version: kriszyp msgpackr 1.10.1. Check the vendor advisory for mitigations.
References
- https://github.com/kriszyp/msgpackr/commit/18f44f8800e2261341cdf489d1ba1e35a0133602
- https://github.com/kriszyp/msgpackr/security/advisories/GHSA-7hpj-7hhx-2fgx
- https://github.com/kriszyp/msgpackr/commit/18f44f8800e2261341cdf489d1ba1e35a0133602
- https://github.com/kriszyp/msgpackr/security/advisories/GHSA-7hpj-7hhx-2fgx
Get alerted when CVE-2023-52079 or the next vulnerability affects your stack