protobufjs: Code injection through bytes field defaults in generated toObject code
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-66ff-xgx4-vchm | protobuf.js: Code injection through bytes field defaults in generated toObject code |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.407% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| References |
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Protobuf
Protobuf protobuf |
|
| Vendors & Products |
Protobuf
Protobuf protobuf |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Protobufjs Project
Protobufjs Project protobufjs |
|
| CPEs | cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Protobufjs Project
Protobufjs Project protobufjs |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2. | |
| Title | protobufjs: Code injection through bytes field defaults in generated toObject code | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV4_0
|