GHSA-M39P-34QH-RH3W
Vulnerability from github – Published: 2026-01-20 21:31 – Updated: 2026-01-21 22:57
VLAI?
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.
Severity ?
6.5 (Medium)
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "binary-parser"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "2.3.0"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2026-1245"
],
"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"
},
"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.",
"id": "GHSA-m39p-34qh-rh3w",
"modified": "2026-01-21T22:57:47Z",
"published": "2026-01-20T21:31:34Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-1245"
},
{
"type": "WEB",
"url": "https://github.com/keichi/binary-parser/pull/283"
},
{
"type": "PACKAGE",
"url": "https://github.com/keichi/binary-parser"
},
{
"type": "WEB",
"url": "https://kb.cert.org/vuls/id/102648"
},
{
"type": "WEB",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-1245"
},
{
"type": "WEB",
"url": "https://www.kb.cert.org/vuls/id/102648"
},
{
"type": "WEB",
"url": "https://www.npmjs.com/package/binary-parser"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
"type": "CVSS_V3"
}
],
"summary": "binary-parser library has a code injection vulnerability"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…