@cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows
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-q69g-4hcv-6jg4 | @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows |
No CVSS v3.1
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.212% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| 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 |
|---|---|---|
| Description | @cyclonedx/cyclonedx-npm creates CycloneDX Software Bill of Materials from npm projects. Prior to version 6.0.0, the Windows fallback path in src/npmRunner.ts, used when npm_execpath does not provide the npm CLI path, can construct a shell command containing an untrusted value from the --workspace option. When an attacker can influence that option and the fallback npm execution path is reached, shell metacharacters in the workspace value can execute arbitrary operating-system commands with the privileges of the user running the CLI, allowing data access, file modification, or service disruption. This issue is fixed in version 6.0.0. | |
| Title | @cyclonedx/cyclonedx-npm: Shell Injection via Unsanitized --workspace Argument on Windows | |
| Weaknesses | CWE-78 | |
| References |
|
|
| Metrics |
cvssV4_0
|