Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/373659?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/373659?format=api", "purl": "pkg:alpm/archlinux/puppet@6.22.1-1", "type": "alpm", "namespace": "archlinux", "name": "puppet", "version": "6.22.1-1", "qualifiers": {}, "subpath": "", "is_vulnerable": true, "next_non_vulnerable_version": "6.23.0-1", "latest_non_vulnerable_version": "7.12.1-1", "affected_by_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80206?format=api", "vulnerability_id": "VCID-mjgy-3jz3-kbb1", "summary": "puppet: SQL injection", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27021.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "8.9", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:H/A:H" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-27021.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27021", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70128", "published_at": "2026-04-01T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.7014", "published_at": "2026-04-02T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70155", "published_at": "2026-04-04T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70132", "published_at": "2026-04-07T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.7018", "published_at": "2026-04-08T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70196", "published_at": "2026-04-09T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70219", "published_at": "2026-04-11T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70204", "published_at": "2026-04-12T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70192", "published_at": "2026-04-13T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70234", "published_at": "2026-04-16T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70243", "published_at": "2026-04-18T12:55:00Z" }, { "value": "0.00626", "scoring_system": "epss", "scoring_elements": "0.70222", "published_at": "2026-04-21T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-27021" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1976314", "reference_id": "1976314", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1976314" }, { "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990419", "reference_id": "990419", "reference_type": "", "scores": [], "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=990419" }, { "reference_url": "https://security.archlinux.org/ASA-202107-8", "reference_id": "ASA-202107-8", "reference_type": "", "scores": [], "url": "https://security.archlinux.org/ASA-202107-8" }, { "reference_url": "https://security.archlinux.org/AVG-2105", "reference_id": "AVG-2105", "reference_type": "", "scores": [ { "value": "Medium", "scoring_system": "archlinux", "scoring_elements": "" } ], "url": "https://security.archlinux.org/AVG-2105" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/373660?format=api", "purl": "pkg:alpm/archlinux/puppet@6.23.0-1", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/puppet@6.23.0-1" } ], "aliases": [ "CVE-2021-27021" ], "risk_score": 4.0, "exploitability": "0.5", "weighted_severity": "8.0", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mjgy-3jz3-kbb1" } ], "fixing_vulnerabilities": [], "risk_score": "4.0", "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/puppet@6.22.1-1" }