CVE-2021-34141Numpy
Medium 5.3 No auth needed
Follow: this CVE · Numpy · Numpy We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Dec 17, 2021
- Updated
- Oct 8, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-697
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
An incomplete string comparison in the numpy.core component in NumPy before 1.22.0 allows attackers to trigger slightly incorrect copying by constructing specific string objects. NOTE: the vendor states that this reported code behavior is "completely harmless."
What to do
- Apply the vendor's security update for Numpy.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | numpy |
< 1.22 |
1.22 |
pip install "numpy>=1.22" |
| PyPI | numpy |
≥ 1.9.0 < 1.10.0 |
1.10.0 |
pip install "numpy>=1.10.0" |
Per OSV / GitHub Advisories (GHSA-fpfv-jqm9-f5jm, PYSEC-2021-855). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| numpy | numpy | < 1.22.0 |
| oracle | communications_cloud_native_core_policy | 22.1.3 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Exploit Issue Tracking Patch
- www.oracle.com Patch Third Party Advisory