@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| CycloneDX | cyclonedx-node-npm | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Cyclonedx | Cyclonedx Node Npm |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v75r-vx73-82pj | @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.235% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Cyclonedx
Cyclonedx cyclonedx Node Npm |
|
| Vendors & Products |
Cyclonedx
Cyclonedx cyclonedx Node Npm |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | @cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of Materials from npm projects. From 2.1.0 before 5.0.0, the CLI passes user-supplied --workspace values to a subshell without proper sanitization when npm_execpath is unset or empty, allowing arbitrary OS command execution with the privileges of the invoking user. This issue is fixed in version 5.0.0. | |
| Title | @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized `--workspace` Argument | |
| Weaknesses | CWE-78 | |
| References |
|
|
| Metrics |
cvssV4_0
|