{"id":"GHSA-7xc5-ggpp-g249","summary":"pwntools Server-Side Template Injection (SSTI) vulnerability","details":"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.","aliases":["CVE-2020-28468","PYSEC-2021-72","SNYK-PYTHON-PWNTOOLS-1047345"],"modified":"2024-10-18T22:22:40.219895Z","published":"2021-04-20T16:13:24Z","database_specific":{"github_reviewed_at":"2021-04-06T23:11:00Z","nvd_published_at":"2021-01-08T12:15:00Z","cwe_ids":["CWE-74"],"severity":"CRITICAL","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28468"},{"type":"WEB","url":"https://github.com/Gallopsled/pwntools/issues/1427"},{"type":"WEB","url":"https://github.com/Gallopsled/pwntools/pull/1732"},{"type":"WEB","url":"https://github.com/Gallopsled/pwntools/commit/138188eb1c027a2d0ffa4151511c407d3a001660"},{"type":"PACKAGE","url":"https://github.com/Gallopsled/pwntools"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-7xc5-ggpp-g249"},{"type":"WEB","url":"https://github.com/pypa/advisory-database/tree/main/vulns/pwntools/PYSEC-2021-72.yaml"},{"type":"WEB","url":"https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345"}],"affected":[{"package":{"name":"pwntools","ecosystem":"PyPI","purl":"pkg:pypi/pwntools"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.1"}]}],"versions":["2.0","2.1.0","2.1.1","2.1.2","2.1.3","2.2","3.0.0","3.0.1","3.0.2","3.0.4","3.1.0","3.1.0b0","3.1.0b1","3.1.0b2","3.1.0b3","3.1.1","3.10.0","3.10.0b0","3.10.0b1","3.10.0b2","3.11.0","3.11.0b0","3.12.0","3.12.0b0","3.12.1","3.12.2","3.13.0","3.13.0b0","3.2.0","3.2.0b0","3.2.0b2","3.2.0b3","3.2.0b4","3.2.0b5","3.2.1","3.3.0","3.3.0b0","3.3.1","3.3.2","3.3.3","3.3.4","3.4.0","3.4.0b0","3.4.0b1","3.4.0b2","3.4.0b3","3.4.0b4","3.4.1","3.5.0","3.5.0b0","3.5.0b1","3.5.1","3.6.0","3.6.0b0","3.6.0b1","3.6.1","3.7.0","3.7.0b0","3.7.0b1","3.7.1","3.8.0","3.8.0b0","3.8.0b1","3.9.0","3.9.0b0","3.9.1","3.9.2","3.9.3","4.0.0","4.0.0b0","4.0.1","4.1.0","4.1.0b0","4.1.1","4.1.2","4.1.3","4.1.4","4.1.5","4.1.6","4.1.7","4.2.0","4.2.0b0","4.2.1","4.2.2","4.3.0","4.3.0b0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-7xc5-ggpp-g249/GHSA-7xc5-ggpp-g249.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"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"}]}