CVE-2021-3177
Kritisk 9.8 CVSS 3.1
Beskrivelse
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.
Beskrivelsen gjengis slik kilden har publisert den, på engelsk.
Nøkkelfakta
- Publisert
- 2021-01-19
- Sist endret
- 2026-10-14
- Tildelt av
- cve@mitre.org
- CVSS-vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Scoret av
- nvd@nist.gov (NVD Primary)
- Sannsynlighet for utnyttelse
-
23.3 %
høyere enn 98 %
av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15 - Rettelse finnes
- Ja, se referansene
Berørte produkter
| Leverandør | Produkt | Versjoner | Status |
|---|---|---|---|
| Debian | Debian Linux | 9.0 | Berørt |
| Fedoraproject | Fedora | 32 | Berørt |
| Fedoraproject | Fedora | 33 | Berørt |
| Netapp | Active Iq Unified Manager | alle oppførte versjoner | Berørt |
| Netapp | Ontap Select Deploy Administration Utility | alle oppførte versjoner | Berørt |
| Oracle | Communications Cloud Native Core Network Function Cloud Native Environment | 22.2.0 | Berørt |
| Oracle | Communications Offline Mediation Controller | 12.0.0.3.0 | Berørt |
| Oracle | Communications Pricing Design Center | 12.0.0.3.0 | Berørt |
| Oracle | Enterprise Manager Ops Center | 12.4.0.0 | Berørt |
| Oracle | Zfs Storage Appliance Kit | 8.8 | Berørt |
| Python | Python | ≥ 3.6.0, ≤ 3.6.12 | Berørt |
| Python | Python | ≥ 3.7.0, ≤ 3.7.9 | Berørt |
| Python | Python | ≥ 3.8.0, ≤ 3.8.7 | Berørt |
| Python | Python | ≥ 3.9.0, ≤ 3.9.1 | Berørt |
Svakhetstype
-
CWE-120: Buffer Copy without Checking Size of Input
The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer.
Referanser
- https://bugs.python.org/issue42938
- https://github.com/python/cpython/pull/24239
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html
- https://lists.debian.org/debian-lts-announce/2022/02/msg00013.html
- https://news.ycombinator.com/item?id=26185005
- https://python-security.readthedocs.io/vuln/ctypes-buffer-overflow-pycarg_repr.html
- https://security.gentoo.org/glsa/202101-18
- https://security.netapp.com/advisory/ntap-20210226-0003/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpujan2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://bugs.python.org/issue42938
- https://github.com/python/cpython/pull/24239
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html
- https://lists.debian.org/debian-lts-announce/2022/02/msg00013.html
- https://news.ycombinator.com/item?id=26185005
- https://python-security.readthedocs.io/vuln/ctypes-buffer-overflow-pycarg_repr.html
- https://security.gentoo.org/glsa/202101-18
- https://security.netapp.com/advisory/ntap-20210226-0003/
Berører dette dere?
En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.