Advisory

GHSA-7xc5-ggpp-g249

Also known as: CVE-2020-28468, PYSEC-2021-72, SNYK-PYTHON-PWNTOOLS-1047345

Summary

pwntools Server-Side Template Injection (SSTI) vulnerability

Details

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2021-04-20 16:13 UTC
Modified
2024-10-18 22:22 UTC

Affected packages and fixes

pwntools

PyPI · All systems

Affected

  • introduced 0, fixed 4.3.1 (ecosystem)

Fixed versions

4.3.1

Fix

  • Fixed version 4.3.1
    pip install --upgrade pwntools==4.3.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences