UBUNTU-CVE-2021-3177

    Dashboard / Vulnerabilities / UBUNTU-CVE-2021-3177

    UBUNTU-CVE-2021-3177

    Published: 19 Jan 2021Last Modified: 22 Apr 2026

    Summary:

    Details: Python 3.x through 3.9.1 has a buffer overflow in PyCArg_repr in _ctypes/callproc.c, which may lead to remote code execution in certain Python applications that accept floating-point numbers as untrusted input, as demonstrated by a 1e300 argument to c_double.from_param. This occurs because sprintf is used unsafely.

    Affected packages

    Package

    Name: python2.7

    Purl: pkg:deb/ubuntu/[email protected]+esm10?arch=source&distro=trusty/esm

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.7.6-8ubuntu0.6+esm10

    Affected versions

    2.7.5-8ubuntu3
    2.7.5-8ubuntu4
    2.7.6-2
    2.7.6-2ubuntu1
    2.7.6-3
    2.7.6-3ubuntu1
    2.7.6-4
    2.7.6-4ubuntu1
    2.7.6-5
    2.7.6-7
    2.7.6-8
    2.7.6-8ubuntu0.2
    2.7.6-8ubuntu0.3
    2.7.6-8ubuntu0.4
    2.7.6-8ubuntu0.5
    2.7.6-8ubuntu0.6+esm2
    2.7.6-8ubuntu0.6+esm3
    2.7.6-8ubuntu0.6+esm5
    2.7.6-8ubuntu0.6+esm6
    2.7.6-8ubuntu0.6+esm7
    2.7.6-8ubuntu0.6+esm8
    2.7.6-8ubuntu0.6+esm9

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    UBUNTU-CVE-2021-3177 | CVE-DB