Pylint: Arbitrary code execution via pickle deserialization of the stats cache in PYLINT_HOME
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pylint-dev | pylint | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Pylint-dev | Pylint |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-22qq-2fwx-7p67 | Pylint: Arbitrary code execution via pickle deserialization of the stats cache in PYLINT_HOME |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.115% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pylint-dev
Pylint-dev pylint |
|
| Vendors & Products |
Pylint-dev
Pylint-dev pylint |
|
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Pylint is a static code analyser for Python. From 0.15.2 until 4.0.9, Pylint stores module statistics in predictable files under PYLINT_HOME and loads those files with pickle.load on a later run. An attacker who can write to a shared, group-writable, or otherwise untrusted cache directory can replace a stats cache with crafted serialized data, causing arbitrary code to execute with the privileges of the user who next runs Pylint. The default per-user cache is not normally writable by another user. This issue is fixed in version 4.0.9. | |
| Title | Pylint: Arbitrary code execution via pickle deserialization of the stats cache in PYLINT_HOME | |
| Weaknesses | CWE-502 | |
| References |
|
|
| Metrics |
cvssV4_0
|