Black's vulnerable version parsing leads to RCE in GitHub Action
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| psf | black | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Psf | Black |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-v53h-f6m7-xcgm | Black's vulnerable version parsing leads to RCE in GitHub Action |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.522% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Python
Python black |
|
| Weaknesses | NVD-CWE-noinfo | |
| CPEs | cpe:2.3:a:python:black:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Python
Python black |
|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Psf
Psf black |
|
| Vendors & Products |
Psf
Psf black |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Black is the uncompromising Python code formatter. Black provides a GitHub action for formatting code. This action supports an option, use_pyproject: true, for reading the version of Black to use from the repository pyproject.toml. A malicious pull request could edit pyproject.toml to use a direct URL reference to a malicious repository. This could lead to arbitrary code execution in the context of the GitHub Action. Attackers could then gain access to secrets or permissions available in the context of the action. Version 26.3.0 fixes this vulnerability. | |
| Title | Black's vulnerable version parsing leads to RCE in GitHub Action | |
| Weaknesses | CWE-20 | |
| References |
| |
| Metrics |
cvssV4_0
|