Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/537847?format=api",
    "purl": "pkg:apk/alpine/docker@20.10.20-r0?arch=x86&distroversion=v3.21&reponame=community",
    "type": "apk",
    "namespace": "alpine",
    "name": "docker",
    "version": "20.10.20-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.21",
        "reponame": "community"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "23.0.2-r0",
    "latest_non_vulnerable_version": "27.1.1-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/59047?format=api",
            "vulnerability_id": "VCID-bn42-x9ez-f7ee",
            "summary": "Several vulnerabilities have been found in Git, the worst of which could lead to remote code execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-39253.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-39253.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-39253",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8604",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86057",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86076",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86087",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86101",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86098",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86094",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86111",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02794",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86116",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-39253"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23521",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-23521"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24765",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24765"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29187",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-29187"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39253",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39253"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39260",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-39260"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41903",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41903"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022046",
                    "reference_id": "1022046",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022046"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2137422",
                    "reference_id": "2137422",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2137422"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202312-15",
                    "reference_id": "GLSA-202312-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202312-15"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:2319",
                    "reference_id": "RHSA-2023:2319",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:2319"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2023:2859",
                    "reference_id": "RHSA-2023:2859",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2023:2859"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2024:0407",
                    "reference_id": "RHSA-2024:0407",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2024:0407"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5686-1/",
                    "reference_id": "USN-5686-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5686-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5686-3/",
                    "reference_id": "USN-5686-3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5686-3/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5686-4/",
                    "reference_id": "USN-5686-4",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5686-4/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/537847?format=api",
                    "purl": "pkg:apk/alpine/docker@20.10.20-r0?arch=x86&distroversion=v3.21&reponame=community",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/docker@20.10.20-r0%3Farch=x86&distroversion=v3.21&reponame=community"
                }
            ],
            "aliases": [
                "CVE-2022-39253"
            ],
            "risk_score": 2.5,
            "exploitability": "0.5",
            "weighted_severity": "5.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-bn42-x9ez-f7ee"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/docker@20.10.20-r0%3Farch=x86&distroversion=v3.21&reponame=community"
}