UBUNTU-CVE-2021-3177
Dashboard / Vulnerabilities / UBUNTU-CVE-2021-3177
UBUNTU-CVE-2021-3177
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.
References: https://ubuntu.com/security/CVE-2021-3177, https://bugs.python.org/issue42938, https://github.com/python/cpython/pull/24239, https://python-security.readthedocs.io/vuln/ctypes-buffer-overflow-pycarg_repr.html, https://ubuntu.com/security/notices/USN-4754-1, https://ubuntu.com/security/notices/USN-4754-2, https://ubuntu.com/security/notices/USN-4754-4, https://ubuntu.com/security/notices/USN-4754-3, https://ubuntu.com/security/notices/USN-4754-5, https://www.cve.org/CVERecord?id=CVE-2021-3177, https://ubuntu.com/security/notices/USN-6891-1
Affected packages
Package
Name: python2.7
Purl: pkg:deb/ubuntu/[email protected]+esm10?arch=source&distro=trusty/esm
Affected ranges
Type: ECOSYSTEM
Events:
