Advisory

PYSEC-2021-72

Also known as: CVE-2020-28468, GHSA-7xc5-ggpp-g249, SNYK-PYTHON-PWNTOOLS-1047345

Summary

The record has no summary.

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

Not rated by the source.

Dates

Published
2021-01-08 12:15 UTC
Modified
2023-11-08 04:03 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: PyPA Advisory Database · CC BY 4.0

Sources & licences