{"id":"CVE-2020-28468","published":"2021-01-08T11:20:13Z","modified":"2024-09-16T23:22:02Z","title":"Improper Control of Generation of Code ('Code Injection')","vendor":null,"product":null,"tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.04379,"percentile":0.91507,"provenance":"source"},"cwes":[],"references":[{"url":"https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345","tags":["x_refsource_MISC"]},{"url":"https://github.com/Gallopsled/pwntools/issues/1427","tags":["x_refsource_MISC"]},{"url":"https://github.com/Gallopsled/pwntools/pull/1732","tags":["x_refsource_MISC"]}],"priority":{"score":24.0,"factors":[{"name":"EPSS percentile","points":18.3},{"name":"CVSS severity","points":5.67}]},"affectedVersions":[{"vendor":"n/a","product":"pwntools","versions":[">= unspecified, < 4.3.1"]}],"affected":[{"ecosystem":"PyPI","package":"pwntools","vulnerableRanges":["<4.3.1"],"patched":["4.3.1"],"from":["GHSA-7xc5-ggpp-g249","PYSEC-2021-72"],"provenance":"source"}],"summary":{"text":"The flaw is a code injection weakness in the shellcraft generator of the pwntools package, affecting versions before 4.3.1, where improper control of code generation enables Server-Side Template Injection. An attacker who can reach the affected component over the network, without authentication or user interaction, can exploit this to achieve remote code execution, though the attack is noted as having high complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T06:37:54Z"},"euvd":{"id":"EUVD-2021-0204","exploited":false,"provenance":"source"}}