{"id":"CVE-2021-34141","aliases":["CVE-2021-34141","GHSA-fpfv-jqm9-f5jm","PYSEC-2021-855"],"related":[],"kind":"vulnerability","state":"published","title":"Incorrect Comparison in NumPy","summary":"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.\"","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\"","source":"cvelist"},{"lang":"en","text":"Incomplete string comparison in the numpy.core component in NumPy1.9.x, which allows attackers to fail the APIs via constructing specific string objects.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una comparación incompleta de cadenas en el componente numpy.core en NumPy en versiones anteriores a la 1.22.0, permite a los atacantes activar una copia ligeramente incorrecta mediante la construcción de objetos de cadena específicos. NOTA: el proveedor afirma que este comportamiento de código reportado es \"completamente inofensivo\".","source":"nvd"}],"published":"2021-12-17T18:43:17.000Z","modified":"2026-10-08T21:17:35.733Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","score":5.3,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","score":5,"rating":"MEDIUM"}],"cwes":["CWE-697"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.22"}],"ecosystem":"PyPI","package":"numpy","purl":"pkg:pypi/numpy","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"1.22.0"}],"vendor":"numpy","product":"numpy","cpe":"cpe:2.3:a:numpy:numpy:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"22.1.3"}],"vendor":"oracle","product":"communications_cloud_native_core_policy","cpe":"cpe:2.3:a:oracle:communications_cloud_native_core_policy:22.1.3:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"1.9.0","status":"affected","fixed":"1.10.0"}],"ecosystem":"PyPI","package":"numpy","purl":"pkg:pypi/numpy","source":"pysec"}],"references":[{"url":"https://github.com/numpy/numpy/issues/18993","tags":["exploit","issue-tracking","patch","report","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.oracle.com/security-alerts/cpujul2022.html","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34141","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/numpy/numpy/issues/18993#issuecomment-1010735102","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-fpfv-jqm9-f5jm","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/numpy/numpy","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/numpy/PYSEC-2021-855.yaml","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-10-08T20:55:32.169Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-34141","url":"https://www.cve.org/CVERecord?id=CVE-2021-34141","licence":"CVE Terms of Use","modified":"2026-10-08T21:03:14.497Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fpfv-jqm9-f5jm","url":"https://github.com/advisories/GHSA-fpfv-jqm9-f5jm","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:07.388Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-34141","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-34141","licence":"Public domain","modified":"2026-10-08T21:17:35.733Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2021-855","url":"https://osv.dev/vulnerability/PYSEC-2021-855","licence":"CC-BY-4.0","modified":"2023-11-08T04:06:07.388Z"}],"updatedAt":"2026-11-25T22:58:06.071Z","epss":{"score":0.01679,"percentile":0.77599,"date":"2026-12-01T12:00:22.000Z"}}