Vulnerability · Published Jan 8, 2021 · Assigned by snyk
CVE-2020-28468Improper Control of Generation of Code ('Code Injection')
High 8.1
In plain English
A high-severity security flaw in pwntools. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.4% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)8.1High
Exploit odds (30 days)4.4%top 8.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
This affects the package pwntools before 4.3.1. The shellcraft generator for affected versions of this module are vulnerable to Server-Side Template Injection (SSTI), which can lead to remote code execution.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | pwntools | 4.3.1 | GHSA-7xc5-ggpp-g249 |
| PyPI | pwntools | 4.3.1 | PYSEC-2021-72 |
Affected products (as reported)
References
- https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345 x_refsource_MISC
- https://github.com/Gallopsled/pwntools/issues/1427 x_refsource_MISC
- https://github.com/Gallopsled/pwntools/pull/1732 x_refsource_MISC