GHSA-m39p-34qh-rh3w

Suggest an improvement
Source
https://github.com/advisories/GHSA-m39p-34qh-rh3w
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-m39p-34qh-rh3w/GHSA-m39p-34qh-rh3w.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-m39p-34qh-rh3w
Aliases
Published
2026-01-20T21:31:34Z
Modified
2026-02-03T03:11:22Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N CVSS Calculator
Summary
binary-parser library has a code injection vulnerability
Details

A code injection vulnerability in the binary-parser library prior to version 2.3.0 allows arbitrary JavaScript code execution when untrusted values are used in parser field names or encoding parameters. The library directly interpolates these values into dynamically generated code without sanitization, enabling attackers to execute arbitrary code in the context of the Node.js process.

Database specific
{
    "cwe_ids":  [
        "CWE-94"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-01-21T22:57:47Z",
    "nvd_published_at":  "2026-01-20T19:15:50Z",
    "severity":  "MODERATE"
}
References

Affected packages

npm / binary-parser

Package

Name
binary-parser
View open source insights on deps.dev
Purl
pkg:npm/binary-parser

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/01/GHSA-m39p-34qh-rh3w/GHSA-m39p-34qh-rh3w.json"