Package Instance
Lookup for vulnerable packages by Package URL.
GET /api/packages/385788?format=api
{ "url": "http://public2.vulnerablecode.io/api/packages/385788?format=api", "purl": "pkg:apk/alpine/strongswan@5.7.1-r0?arch=riscv64&distroversion=v3.23&reponame=main", "type": "apk", "namespace": "alpine", "name": "strongswan", "version": "5.7.1-r0", "qualifiers": { "arch": "riscv64", "distroversion": "v3.23", "reponame": "main" }, "subpath": "", "is_vulnerable": false, "next_non_vulnerable_version": "5.9.1-r3", "latest_non_vulnerable_version": "5.9.14-r3", "affected_by_vulnerabilities": [], "fixing_vulnerabilities": [ { "url": "http://public2.vulnerablecode.io/api/vulnerabilities/101545?format=api", "vulnerability_id": "VCID-y5e6-73yu-dkez", "summary": "The gmp plugin in strongSwan before 5.7.1 has a Buffer Overflow via a crafted certificate.", "references": [ { "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-17540.json", "reference_id": "", "reference_type": "", "scores": [ { "value": "3.1", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:N/A:L" } ], "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-17540.json" }, { "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17540", "reference_id": "", "reference_type": "", "scores": [ { "value": "0.03944", "scoring_system": "epss", "scoring_elements": "0.88551", "published_at": "2026-06-04T12:55:00Z" }, { "value": "0.03944", "scoring_system": "epss", "scoring_elements": "0.88569", "published_at": "2026-06-08T12:55:00Z" }, { "value": "0.03944", "scoring_system": "epss", "scoring_elements": "0.88587", "published_at": "2026-06-09T12:55:00Z" }, { "value": "0.03944", "scoring_system": "epss", "scoring_elements": "0.88571", "published_at": "2026-06-06T12:55:00Z" }, { "value": "0.03944", "scoring_system": "epss", "scoring_elements": "0.8857", "published_at": "2026-06-07T12:55:00Z" } ], "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-17540" }, { "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17540", "reference_id": "", "reference_type": "", "scores": [], "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-17540" }, { "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml", "reference_id": "", "reference_type": "", "scores": [ { "value": "7", "scoring_system": "cvssv3", "scoring_elements": "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:H" } ], "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml" }, { "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1635877", "reference_id": "1635877", "reference_type": "", "scores": [], "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1635877" }, { "reference_url": "https://security.gentoo.org/glsa/201811-16", "reference_id": "GLSA-201811-16", "reference_type": "", "scores": [], "url": "https://security.gentoo.org/glsa/201811-16" }, { "reference_url": "https://usn.ubuntu.com/3774-1/", "reference_id": "USN-3774-1", "reference_type": "", "scores": [], "url": "https://usn.ubuntu.com/3774-1/" } ], "fixed_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/385788?format=api", "purl": "pkg:apk/alpine/strongswan@5.7.1-r0?arch=riscv64&distroversion=v3.23&reponame=main", "is_vulnerable": false, "affected_by_vulnerabilities": [], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/strongswan@5.7.1-r0%3Farch=riscv64&distroversion=v3.23&reponame=main" } ], "aliases": [ "CVE-2018-17540" ], "risk_score": 1.8, "exploitability": "0.5", "weighted_severity": "3.5", "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-y5e6-73yu-dkez" } ], "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/strongswan@5.7.1-r0%3Farch=riscv64&distroversion=v3.23&reponame=main" }