Description
protobufjs-cli is the command line add-on for protobuf.js. Prior to 1.2.1 and 2.0.2, pbts invoked JSDoc by building a shell command string from input file paths and executing it through child_process.exec. File paths containing shell metacharacters could therefore be interpreted by the shell instead of being passed to JSDoc as plain arguments. This vulnerability is fixed in 1.2.1 and 2.0.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| protobufjs | protobuf.js | >= 2.0.0, < 2.0.2, < 1.2.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | vitess-23 | 23.0.4-r5 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | protobufjs-cli | < 1.2.1 | 1.2.1 | GHSA-f84p-cvgm-xgjj |
| npm | protobufjs-cli | >= 2.0.0, < 2.0.2 | 2.0.2 | GHSA-f84p-cvgm-xgjj |