
Find real vulnerabilities before they ship
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript property accessors from schema-controlled field and oneof names. Certain control characters in field names were not escaped before being embedded into generated function bodies. A crafted schema or JSON descriptor could therefore cause generated encode, decode, verify, or conversion functions to fail during compilation. This vulnerability is fixed in 7.5.6 and 8.0.2.
Base Score
5.3| Package (Ecosystem) | Introduced | Fixed | Limit |
|---|---|---|---|
| protobufjs(npm) | 0 | 7.5.6 | N/A |
| protobufjs(npm) | 8.0.0 | 8.0.2 | N/A |
| Base Score | 5.3 |
|---|---|
| Vector String | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| Base Severity | Medium |
| Version | 3.1 |
| Attack Vector (AV) | NETWORK |