Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/25874?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/25874?format=api", "purl": "pkg:pypi/numpy@1.16.6", "type": "pypi", "namespace": "", "name": "numpy", "version": "1.16.6", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "1.19.1", "latest_non_vulnerable_version": "1.22.0", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35932?format=api", "vulnerability_id": "VCID-86w7-qcmk-xyca", "summary": "Null Pointer Dereference vulnerability exists in numpy.sort in NumPy < and 1.19 in the PyArray_DescrNew function due to missing return-value validation, which allows attackers to conduct DoS attacks by repetitively creating sort arrays.", "references": [ { "reference_url": "https://github.com/advisories/GHSA-5545-2q6w-2gh6", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-5545-2q6w-2gh6" }, { "reference_url": "https://github.com/numpy/numpy/issues/19038", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/numpy/numpy/issues/19038" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41495", "reference_id": "CVE-2021-41495", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41495" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/25893?format=api", "purl": "pkg:pypi/numpy@1.19.1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.19.1" } ], "aliases": [ "CVE-2021-41495", "GHSA-5545-2q6w-2gh6", "PYSEC-2021-856" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-86w7-qcmk-xyca" }, { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/35931?format=api", "vulnerability_id": "VCID-xmpe-ucks-uubr", "summary": "Buffer overflow in the array_from_pyobj function of fortranobject.c in NumPy < 1.19, which allows attackers to conduct a Denial of Service attacks by carefully constructing an array with negative values.", "references": [ { "reference_url": "https://github.com/advisories/GHSA-f7c7-j99h-c22f", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/advisories/GHSA-f7c7-j99h-c22f" }, { "reference_url": "https://github.com/numpy/numpy/issues/19000", "reference_id": "", "reference_type": "", "scores": [], "url": "https://github.com/numpy/numpy/issues/19000" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41496", "reference_id": "CVE-2021-41496", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-41496" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/25892?format=api", "purl": "pkg:pypi/numpy@1.19.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-86w7-qcmk-xyca" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.19.0" } ], "aliases": [ "CVE-2021-41496", "GHSA-f7c7-j99h-c22f", "PYSEC-2021-857" ], "risk_score": null, "exploitability": null, "weighted_severity": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-xmpe-ucks-uubr" } ], "fixing_vulnerabilities": [], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/numpy@1.16.6" }