Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. msgpackr
  4. ›
  5. CVE-2023-52079

CVE-2023-52079: Improper Check for Unusual or Exceptional Conditions

December 28, 2023 (updated January 4, 2024)

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.

References

  • github.com/advisories/GHSA-7hpj-7hhx-2fgx
  • github.com/kriszyp/msgpackr/commit/18f44f8800e2261341cdf489d1ba1e35a0133602
  • github.com/kriszyp/msgpackr/security/advisories/GHSA-7hpj-7hhx-2fgx
  • nvd.nist.gov/vuln/detail/CVE-2023-52079

Code Behaviors & Features

Detect and mitigate CVE-2023-52079 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.10.1

Fixed versions

  • 1.10.1

Solution

Upgrade to version 1.10.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

npm/msgpackr/CVE-2023-52079.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:07 +0000.