ALPINE-CVE-2021-3177

Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 19 Jan 2021, 06:15
Last modified:03 Dec 2025, 22:48

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.8 CRITICAL
3.1 (osv_alpine)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

19 Jan 2021, 06:15
Published
Vulnerability first disclosed
03 Dec 2025, 22:48
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1CRITICALScore: 9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected Systems

  • alpinepython3

    < 3.7.7-r2 | < 3.8.2-r2 | < 3.8.5-r1 | < 3.8.7-r1 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2 | < 3.8.7-r2

References (1)