CVE-2023-52079

Conversion of property names to strings can trigger infinite recursion

State
Published
Severity
6.8 Medium
Published
Dec 28, 2023
Updated
Aug 27, 2024
Reserved
Dec 26, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.8 MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:HGitHub_M

Weaknesses

  • CWE-674 Uncontrolled Recursion
  • CWE-754 Improper Check for Unusual or Exceptional Conditions

Affected Products

ProductVersions
msgpackrkriszyp
  • < 1.10.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.