{"id":"CVE-2020-28468","aliases":["CVE-2020-28468","GHSA-7xc5-ggpp-g249","PYSEC-2021-72","SNYK-PYTHON-PWNTOOLS-1047345"],"related":[],"kind":"vulnerability","state":"published","title":"Improper Control of Generation of Code ('Code Injection')","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Esto afecta al paquete pwntools versiones anteriores a 4.3.1.&#xa0;El generador shellcraft para las versiones afectadas de este módulo son vulnerables a una Server-Side Template Injection (SSTI), conllevando potencialmente a una ejecución de código remota","source":"nvd"}],"published":"2021-01-08T11:20:13.794Z","modified":"2026-06-17T03:10:30.207Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":8.1,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":8.1,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","score":7.5,"rating":"HIGH"}],"cwes":["CWE-74"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"4.3.1","status":"affected"}],"product":"pwntools","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.3.1"}],"ecosystem":"PyPI","package":"pwntools","purl":"pkg:pypi/pwntools","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"4.3.1"}],"vendor":"pwntools_project","product":"pwntools","cpe":"cpe:2.3:a:pwntools_project:pwntools:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.3.1"}],"ecosystem":"PyPI","package":"pwntools","purl":"pkg:pypi/pwntools","source":"pysec"}],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345","tags":["advisory","exploit","patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Gallopsled/pwntools/issues/1427","tags":["exploit","issue-tracking","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/Gallopsled/pwntools/pull/1732","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28468","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/Gallopsled/pwntools/commit/138188eb1c027a2d0ffa4151511c407d3a001660","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/Gallopsled/pwntools","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-7xc5-ggpp-g249","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pwntools/PYSEC-2021-72.yaml","tags":["web"],"sources":["ghsa"]}],"credits":["Arusekk"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-28468","url":"https://www.cve.org/CVERecord?id=CVE-2020-28468","licence":"CVE Terms of Use","modified":"2024-09-16T23:22:02.072Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7xc5-ggpp-g249","url":"https://github.com/advisories/GHSA-7xc5-ggpp-g249","licence":"CC-BY-4.0","modified":"2024-10-18T22:22:40.219Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-28468","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28468","licence":"Public domain","modified":"2026-06-17T03:10:30.207Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-72","url":"https://osv.dev/vulnerability/PYSEC-2021-72","licence":"CC-BY-4.0","modified":"2023-11-08T04:03:27.563Z"}],"updatedAt":"2026-11-25T22:57:56.939Z","epss":{"score":0.04379,"percentile":0.91498,"date":"2026-12-01T12:00:22.000Z"}}