---
title: "GHSA-7hpj-7hhx-2fgx: msgpackr's conversion of property names to strings can trigger infinite recursion"
description: "High severity. msgpackr's conversion of property names to strings can trigger infinite recursion. Affects msgpackr; fixed in 1.10.1."
url: https://inlinr.com/advisories/GHSA-7hpj-7hhx-2fgx
lang: en
---

[Packages](https://inlinr.com/packages) / [msgpackr](https://inlinr.com/packages/msgpackr) / [Security](https://inlinr.com/packages/msgpackr/security)

High Vulnerability GHSA-7hpj-7hhx-2fgx CVE-2023-52079 Published 28 Dec 2023

# msgpackr's conversion of property names to strings can trigger infinite recursion

Your version 

Affected releases · [msgpackr](https://inlinr.com/packages/msgpackr)

- 1.x 1.0.0 – 1.10.0 Fixed in 1.10.1
- 0.6.x and older 0.1.0 – 0.6.0 No fix, no longer updated

On 1.x, the newest line:

```
npm install msgpackr@1.10.1
```

Every release on a timeline

2.x 

1. Not affected

2.0.0 – 2.1.4  
12 releases, latest

1.x 

1. Affected

1.0.0 – 1.10.0  
71 releases
2. Fixed

1.10.1 – 1.12.1  
19 releases

0.x 

1. Affected

0.1.0 – 0.6.0  
28 releases

130 stable releases of msgpackr, oldest to newest, one row per major.

## What happens

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

## How it is exploited

Exploitable over the network, with no account and no action from a user.

- **Confidentiality**: none
- **Integrity**: none
- **Availability**: high

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

## References

- [Reference](https://github.com/kriszyp/msgpackr/security/advisories/GHSA-7hpj-7hhx-2fgx "https://github.com/kriszyp/msgpackr/security/advisories/GHSA-7hpj-7hhx-2fgx")  
github.com/kriszyp/msgpackr/security/advisories…
- [NVD](https://nvd.nist.gov/vuln/detail/CVE-2023-52079 "https://nvd.nist.gov/vuln/detail/CVE-2023-52079")  
nvd.nist.gov/vuln/detail/CVE-2023-52079
- [Fix commit](https://github.com/kriszyp/msgpackr/commit/18f44f8800e2261341cdf489d1ba1e35a0133602 "https://github.com/kriszyp/msgpackr/commit/18f44f8800e2261341cdf489d1ba1e35a0133602")  
18f44f8
- [Package](https://github.com/kriszyp/msgpackr "https://github.com/kriszyp/msgpackr")  
github.com/kriszyp/msgpackr

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
