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

Affecting pwntools package, versions [,4.3.1)

Report new vulnerabilities
Do your applications use this vulnerable package? Test your applications

Overview

pwntools is a CTF framework and exploit development library. Written in Python, it is designed for rapid prototyping and development, and intended to make exploit writing as simple as possible.

Affected versions of this package are vulnerable to Improper Control of Generation of Code ('Code Injection'). The shellcraft generator for affected versions of this module are vulnerable to Server-Side Template Injection (SSTI), which can lead to remote code execution.

Remediation

Upgrade pwntools to version 4.3.1 or higher.

References

CVSS Score

8.1
high severity
  • Attack Vector
    Network
  • Attack Complexity
    High
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    High
  • Integrity
    High
  • Availability
    High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P
Credit
Arusekk
CVE
CVE-2020-28468
CWE
CWE-94
Snyk ID
SNYK-PYTHON-PWNTOOLS-1047345
Disclosed
30 Nov, 2020
Published
01 Dec, 2020