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.
Metrics
Affected Vendors & Products
Advisories
| Source | ID | Title |
|---|---|---|
Debian DLA |
DLA-2619-1 | python3.5 security update |
Debian DLA |
DLA-2919-1 | python2.7 security update |
Debian DLA |
DLA-3432-1 | python2.7 security update |
EUVD |
EUVD-2021-26520 | 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. |
Ubuntu USN |
USN-4754-1 | Python vulnerabilities |
Ubuntu USN |
USN-4754-3 | Python vulnerabilities |
Ubuntu USN |
USN-4754-4 | Python 2.7 vulnerability |
Ubuntu USN |
USN-4754-5 | Python vulnerability |
Ubuntu USN |
USN-6891-1 | Python vulnerabilities |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
No history.
Status: PUBLISHED
Assigner: mitre
Published:
Updated: 2024-08-03T16:45:51.394Z
Reserved: 2021-01-19T00:00:00
Link: CVE-2021-3177
No data.
Status : Modified
Published: 2021-01-19T06:15:12.967
Modified: 2024-11-21T06:21:03.650
Link: CVE-2021-3177
OpenCVE Enrichment
No data.
Debian DLA
EUVD
Ubuntu USN