Improper Control of Generation of Code ('Code Injection') Affecting pwntools package, versions [,4.3.1)


0.0
high
  • Exploit Maturity

    Proof of concept

  • Attack Complexity

    High

  • Confidentiality

    High

  • Integrity

    High

  • Availability

    High

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • snyk-id

    SNYK-PYTHON-PWNTOOLS-1047345

  • published

    1 Dec 2020

  • disclosed

    30 Nov 2020

  • credit

    Arusekk

How to fix?

Upgrade pwntools to version 4.3.1 or higher.

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.

References