Skip to content
OpenAdvisories
Medium · 6.8 CVE-2023-52079 EUVD-2023-3146GHSA-7hpj-7hhx-2fgx

Conversion of property names to strings can trigger infinite recursion

Published Dec 28, 2023 · Updated Aug 27, 2024 · Assigned by GitHub_M

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

VendorProductAffectedFixed
kriszyp msgpackr < 1.10.1 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm msgpackr < 1.10.1 1.10.1 GHSA-7hpj-7hhx-2fgx

References