CVE-2020-28468

Improper Control of Generation of Code ('Code Injection')

CRITICAL
9.8
CVSS Score
Published: January 8, 2021 at 11:20 AM UTC
Updated: June 17, 2026 at 03:10 AM UTC
1 product affected across 1 vendorPwntools

Using pwntools by N/A?

Get instant alerts when new vulnerabilities affect pwntools - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 4%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.3.1
Affected range stops below 4.3.1, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

References (3)

x_refsource_MISCExploitIssue TrackingThird Party Advisory
https://github.com/Gallopsled/pwntools/issues/1427
x_refsource_MISCPatchThird Party Advisory
https://github.com/Gallopsled/pwntools/pull/1732
x_refsource_MISCExploitPatchThird Party Advisory
https://snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-74

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card