CVE-2021-3177
KritikTeknik Veri (Otomatik)
- CVSS Skoru
- 9.8
- EPSS
- 24.2%
- CWE
- CWE-120
- KEV Durumu
- Hayır
Yayım tarihi: 19 Ocak 2021
Etkilenen: python python
Python 3.x 3.9.1 sürümüne kadar PyCArg_repr içinde _ctypes/callproc.c dosyasında bir arabellek taşıma hatası mevcuttur. Bu, belirli Python uygulamalarında, özellikle de güvenilmeyen girdiler olarak kayan nokta sayılarını kabul edenlerde, uzaktan kod yürütülmesine neden olabilir. c_double.from_param için 1e300 argümanı gibi bir örnek göstermektedir. Bu durum, sprintf'in güvensiz bir şekilde kullanılması nedeniyle meydana gelmektedir.
Orijinal açıklama (İngilizce)
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.
Referanslar
- https://bugs.python.org/issue42938
- https://github.com/python/cpython/pull/24239
- https://lists.apache.org/thread.html/rf9fa47ab66495c78bb4120b0754dd9531ca2ff0430f6685ac9b07772%40%3Cdev.mina.apache.org%3E
- https://lists.debian.org/debian-lts-announce/2021/04/msg00005.html
- https://lists.debian.org/debian-lts-announce/2022/02/msg00013.html
- https://lists.debian.org/debian-lts-announce/2023/05/msg00024.html
Bu CVE için henüz editoryal inceleme yapılmadı. Sadece otomatik teknik veri gösteriliyor.