NumPy Buffer Overflow (Disputed)
A Buffer Overflow vulnerability exists in NumPy 1.9.x in the PyArray_NewFromDescr_int function of ctors.c when specifying arrays of large dimensions (over 32) from Python code, which could let a malicious user cause a Denial of Service.
NOTE: The vendor does not agree this is a vulnerability; In (very limited) circumstances a user may be able provoke the buffer overflow, the user is most likely already privileged to at least provoke denial of service by exhausting memory. Triggering this further requires the use of uncommon API (complicated structured dtypes), which is very unlikely to be available to an unprivileged user.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Python (PyPI) | numpy | >= 1.9.0, < 1.21 | 1.21 |
Verweise
- https://github.com/numpy/numpy/issues/18939
- https://github.com/advisories/GHSA-6p56-wp2h-9hxr
- https://nvd.nist.gov/vuln/detail/CVE-2021-33430
- https://github.com/numpy/numpy/commit/ae317fd9ff3e79c0eac357d723bfc29cbd625f2e
- https://github.com/numpy/numpy
- https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-854.yaml
- CVSS-Vektor
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H- Schwäche (CWE)
CWE-120- Plattform
- Python (PyPI)
- Paket
numpy- Veröffentlicht
- 17.12.2021
- Aktualisiert
- 11.10.2026 11:20
Quellen und Lizenzen
OSV / GitHub Advisory Database - PYSEC-2021-854 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6p56-wp2h-9hxr - CC BY 4.0
Schwachstellenhistorie: numpy
Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
- Einträge insgesamt
- 8
- Erste → letzte
- 08.2017 12.2021
- Ohne Fix
- 0
- In Angriffen ausgenutzt
- 0
Verteilung nach Schweregrad
- Kritisch 1
- Hoch 4
- Mittel 3
Veröffentlichungen pro Jahr
- 2017: 1
- 2018: 2
- 2019: 1
- 2020: 0
- 2021: 4
- 2022: 0
- 2023: 0
- 2024: 0
- 2025: 0
- 2026: 0
-
NumPy Buffer Overflow (Disputed) dieser Eintrag
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.