gallopsled/pwntools · Security
pwntools Server-Side Template Injection (SSTI) vulnerability
- GHSA ID
- GHSA-7xc5-ggpp-g249
- CVE ID
- CVE-2020-28468
- Severity
- critical
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 9.3 · CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
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.
CWEs
- CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2020-28468 ↗
- https://github.com/Gallopsled/pwntools/issues/1427 ↗
- https://github.com/Gallopsled/pwntools/pull/1732 ↗
- https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345 ↗
- https://github.com/Gallopsled/pwntools/commit/138188eb1c027a2d0ffa4151511c407d3a001660 ↗
- https://github.com/advisories/GHSA-7xc5-ggpp-g249 ↗
- https://github.com/pypa/advisory-database/tree/main/vulns/pwntools/PYSEC-2021-72.yaml ↗