GitHub Advisoryadvisory · npm

GHSA-7hpj-7hhx-2fgx msgpackr's conversion of property names to strings can trigger infinite recursion

HIGH Published 2023-12-28 Modified 2024-01-10 Official page ↗
Aliases
CVE-2023-52079
Ecosystem
npm
Packages
msgpackr
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H
Weaknesses
CWE-674
Reviewed
2023-12-28

Affected packages

• npm msgpackr: < 1.10.1 → fixed in 1.10.1

Description

Impact When decoding user supplied MessagePack messages, users can trigger stuck threads by crafting messages that keep the decoder stuck in a loop. Patches The fix is available in v1.10.1 Workarounds 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. References

Related

Alias · CVE (1)

  • CVE-2023-52079 msgpackr is a fast MessagePack NodeJS/JavaScript implementation. vulnerability

Weakness · CWE (1)

  • CWE-674 Uncontrolled Recursion weakness

References