protobufjs-cli: Code injection in pbjs static output from crafted schema names (protobufjs protobuf.js)
En bref
- Source
- NVD
- EPSS
- EPSS 0.40 % · centile 34 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- GitHub_M
- Statut NVD
- Analyzed
Rechercher sur…
Description
protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbjs static code generation could emit unsafe JavaScript identifiers derived from schema-controlled names. When generating static JavaScript from a crafted schema or JSON descriptor, certain namespace, enum, service, or derived full names could be written into the generated output without sufficient sanitization. This vulnerability is fixed in 1.2.1 and 2.0.2.
Faiblesses (CWE)
- CWE-94 — Injection de code
Références
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Avis
- GHSA-6r35-46g8-jcw9 — protobuf.js: Code injection in pbjs static output from crafted schema names
Références européennes
- ENISA EUVD · EUVD-2026-30033
- GCVE · GCVE-0-2026-44295
Configurations affectées (CPE NVD)
cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*< 1.2.1cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:*≥ 2.0.0 < 2.0.2
Produits affectés
| Produit | Versions |
|---|---|
| protobufjs · protobuf.js | affected >= 2.0.0, < 2.0.2 ; affected < 1.2.1 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |