8.7Hoch

CVE-2026-44295protobufjs-cli: Code injection in pbjs static output from crafted schema names

protobufjs protobuf.js Veröffentlicht: (vor 6 Monaten)

Beschreibung

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.

Schwachstellentyp (CWE): CWE-94

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
protobufjs protobuf.js >= 2.0.0, < 2.0.2, < 1.2.1
protobufjs project protobufjs-cli < 1.2.1

Referenzen und Patches

CPE-Treffer (NVD) (2)

  • cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:* < 1.2.1
  • cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:* ≥ 2.0.0 < 2.0.2