Vulnerability · Published Jan 8, 2021 · Assigned by snyk

CVE-2020-28468Improper Control of Generation of Code ('Code Injection')

High 8.1

In plain English

A high-severity security flaw in pwntools. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 4.4% (higher than 91% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)4.4%top 8.7% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpwntools4.3.1GHSA-7xc5-ggpp-g249
PyPIpwntools4.3.1PYSEC-2021-72

Affected products (as reported)

VendorProductVersions
n/a pwntools unspecified – before 4.3.1

References