CVE-2023-52079 Conversion of property names to strings can trigger infinite recursion
MediumCVSS 6.5
EPSS 0.69%
- Published
- Updated
- Exploit status
- No public exploit known
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
| Product | Affected versions | Fixed in |
|---|---|---|
| npm msgpackr(npm) | < 1.10.1 | 1.10.1 |
| kriszyp msgpackr | = < 1.10.1 | No fix listed |
| kriszyp msgpackr | < 1.10.1 | 1.10.1 |
References
- https://github.com/kriszyp/msgpackr/security/advisories/GHSA-7hpj-7hhx-2fgx vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/kriszyp/msgpackr/commit/18f44f8800e2261341cdf489d1ba1e35a0133602 patch
- github.com
- github.com product