GHSA-7hpj-7hhx-2fgx

Suggest an improvement
Source
https://github.com/advisories/GHSA-7hpj-7hhx-2fgx
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2023/12/GHSA-7hpj-7hhx-2fgx/GHSA-7hpj-7hhx-2fgx.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-7hpj-7hhx-2fgx
Aliases
Related
Published
2023-12-28T21:16:20Z
Modified
2024-01-10T18:34:21Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:N/A:H CVSS Calculator
Summary
msgpackr's conversion of property names to strings can trigger infinite recursion
Details

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

Database specific
{
    "nvd_published_at": "2023-12-28T16:16:01Z",
    "cwe_ids": [
        "CWE-674"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2023-12-28T21:16:20Z"
}
References

Affected packages

npm / msgpackr

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.10.1