Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. pwntools
  4. ›
  5. CVE-2020-28468

CVE-2020-28468: pwntools Server-Side Template Injection (SSTI) vulnerability

April 20, 2021 (updated October 18, 2024)

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.

References

  • github.com/Gallopsled/pwntools
  • github.com/Gallopsled/pwntools/commit/138188eb1c027a2d0ffa4151511c407d3a001660
  • github.com/Gallopsled/pwntools/issues/1427
  • github.com/Gallopsled/pwntools/pull/1732
  • github.com/advisories/GHSA-7xc5-ggpp-g249
  • github.com/pypa/advisory-database/tree/main/vulns/pwntools/PYSEC-2021-72.yaml
  • nvd.nist.gov/vuln/detail/CVE-2020-28468
  • snyk.io/vuln/SNYK-PYTHON-PWNTOOLS-1047345

Code Behaviors & Features

Detect and mitigate CVE-2020-28468 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.3.1

Fixed versions

  • 4.3.1

Solution

Upgrade to version 4.3.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/pwntools/CVE-2020-28468.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:50 +0000.