protobufjs-cli: Code injection in pbjs static output from crafted schema names
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| protobufjs | protobuf.js | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Protobuf | Protobuf |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6r35-46g8-jcw9 | protobuf.js: Code injection in pbjs static output from crafted schema names |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.395% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Protobufjs Project
Protobufjs Project protobufjs-cli |
|
| CPEs | cpe:2.3:a:protobufjs_project:protobufjs-cli:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Protobufjs Project
Protobufjs Project protobufjs-cli |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Protobuf
Protobuf protobuf |
|
| Vendors & Products |
Protobuf
Protobuf protobuf |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | protobufjs-cli: Code injection in pbjs static output from crafted schema names | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV3_1
|