DEBIAN-CVE-2021-3177

Source
https://security-tracker.debian.org/tracker/DEBIAN-CVE-2021-3177
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2021-3177.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2021-3177
Upstream
Published
2021-01-19T06:15:12Z
Modified
2025-09-19T06:10:05Z
Summary
[none]
Details

Python 3.x through 3.9.1 has a buffer overflow in PyCArgrepr 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 cdouble.from_param. This occurs because sprintf is used unsafely.

References

Affected packages

Debian:11 / python2.7

Package

Name
python2.7
Purl
pkg:deb/debian/python2.7?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.7.18-2

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:11 / python3.9

Package

Name
python3.9
Purl
pkg:deb/debian/python3.9?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.9.1-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}