Lookup for vulnerable packages by Package URL.

GET /api/packages/268189?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/268189?format=api",
    "purl": "pkg:apk/alpine/vim@9.1.0936-r0?arch=aarch64&distroversion=v3.24&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "vim",
    "version": "9.1.0936-r0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.24",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.1.1003-r0",
    "latest_non_vulnerable_version": "9.2.0567-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/20930?format=api",
            "vulnerability_id": "VCID-r7su-ts6e-f3e5",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-47814.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.9",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2024-47814.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-47814",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00069",
                            "scoring_system": "epss",
                            "scoring_elements": "0.2143",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.00069",
                            "scoring_system": "epss",
                            "scoring_elements": "0.21615",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-47814"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47814",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-47814"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/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=1084806",
                    "reference_id": "1084806",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1084806"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2317096",
                    "reference_id": "2317096",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2317096"
                },
                {
                    "reference_url": "https://github.com/vim/vim/commit/51b62387be93c65fa56bbabe1c3",
                    "reference_id": "51b62387be93c65fa56bbabe1c3",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-08T14:12:43Z/"
                        }
                    ],
                    "url": "https://github.com/vim/vim/commit/51b62387be93c65fa56bbabe1c3"
                },
                {
                    "reference_url": "https://github.com/vim/vim/security/advisories/GHSA-rj48-v4mq-j4vg",
                    "reference_id": "GHSA-rj48-v4mq-j4vg",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.9",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2024-10-08T14:12:43Z/"
                        }
                    ],
                    "url": "https://github.com/vim/vim/security/advisories/GHSA-rj48-v4mq-j4vg"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/7131-1/",
                    "reference_id": "USN-7131-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/7131-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/268189?format=api",
                    "purl": "pkg:apk/alpine/vim@9.1.0936-r0?arch=aarch64&distroversion=v3.24&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@9.1.0936-r0%3Farch=aarch64&distroversion=v3.24&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2024-47814"
            ],
            "risk_score": 1.8,
            "exploitability": "0.5",
            "weighted_severity": "3.5",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r7su-ts6e-f3e5"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/vim@9.1.0936-r0%3Farch=aarch64&distroversion=v3.24&reponame=community"
}