{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2020-28468","id":"CVE-2020-28468","title":"Improper Control of Generation of Code ('Code Injection')","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.","descriptionLong":"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.","published":"2021-01-08T11:20:13.794Z","updated":"2026-10-20T10:53:05.081622667Z","reserved":"2020-11-12T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","rating":"high","source":"snyk"},"metrics":[{"version":"4.0","score":null,"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","source":"GitHub"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","rating":"high","source":"snyk"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"snyk.io"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"high","products":["pwntools"],"affectedProducts":[{"vendor":"n/a","product":"pwntools","defaultStatus":null,"versions":[{"lessThan":"4.3.1","status":"affected","version":"unspecified","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pwntools","purl":"pkg:pypi/pwntools","ranges":["<4.3.1"],"fixed":["4.3.1"],"advisory":"GHSA-7xc5-ggpp-g249"}],"cwes":["CWE-74"],"aliases":["GHSA-7xc5-ggpp-g249","PYSEC-2021-72","SNYK-PYTHON-PWNTOOLS-1047345"],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345","tags":["x_refsource_MISC","x_transferred","Exploit","Patch","Third Party Advisory","fix","web","advisory"]},{"url":"https://github.com/Gallopsled/pwntools/issues/1427","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/Gallopsled/pwntools/pull/1732","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28468","tags":["advisory"]},{"url":"https://github.com/Gallopsled/pwntools/commit/138188eb1c027a2d0ffa4151511c407d3a001660","tags":["web"]},{"url":"https://github.com/Gallopsled/pwntools","tags":["package"]},{"url":"https://github.com/advisories/GHSA-7xc5-ggpp-g249","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pwntools/PYSEC-2021-72.yaml","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.04379,"epssPercentile":0.91481,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2020-28468","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28468","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2020-28468","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-7xc5-ggpp-g249","ok":true,"note":"GHSA-7xc5-ggpp-g249"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2020-28468","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}