Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/458861?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/458861?format=api", "purl": "pkg:apk/alpine/gradle@7.2-r0?arch=x86_64&distroversion=v3.22&reponame=community", "type": "apk", "namespace": "alpine", "name": "gradle", "version": "7.2-r0", "qualifiers": { "arch": "x86_64", "distroversion": "v3.22", "reponame": "community" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "7.6.1-r0", "latest_non_vulnerable_version": "7.6.1-r0", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/5309?format=api", "vulnerability_id": "VCID-ejbp-q2xh-ybd7", "summary": "arbitrary command execution", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-32751.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "7.5", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-32751.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32751", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00831", "scoring_system": "epss", "scoring_elements": "0.74934", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.00831", "scoring_system": "epss", "scoring_elements": "0.74969", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.00831", "scoring_system": "epss", "scoring_elements": "0.74958", "published_at": "2026-06-07T12:55:00Z" }, { "value": "0.00831", "scoring_system": "epss", "scoring_elements": "0.74943", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.00831", "scoring_system": "epss", "scoring_elements": "0.74962", "published_at": "2026-06-05T12:55:00Z" }, { "value": "0.00831", "scoring_system": "epss", "scoring_elements": "0.74966", "published_at": "2026-06-06T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-32751" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32751", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-32751" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "4.8", "scoring_system": "cvssv3.1", "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014778", "reference_id": "1014778", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1014778" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2239392", "reference_id": "2239392", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2239392" }, { "reference_url": "https://security.archlinux.org/AVG-2192", "reference_id": "AVG-2192", "reference_type": "", "scores": [ { "value": "High", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-2192" }, { "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32751", "reference_id": "CVE-2021-32751", "reference_type": "", "scores": [], "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-32751" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/458861?format=api", "purl": "pkg:apk/alpine/gradle@7.2-r0?arch=x86_64&distroversion=v3.22&reponame=community", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gradle@7.2-r0%3Farch=x86_64&distroversion=v3.22&reponame=community" } ], "aliases": [ "CVE-2021-32751", "GHSA-6j2p-252f-7mw8" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ejbp-q2xh-ybd7" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/gradle@7.2-r0%3Farch=x86_64&distroversion=v3.22&reponame=community" }