Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/132004?format=api",
    "purl": "pkg:apk/alpine/samba@4.10.5-r0?arch=x86&distroversion=v3.18&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "samba",
    "version": "4.10.5-r0",
    "qualifiers": {
        "arch": "x86",
        "distroversion": "v3.18",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.10.8-r0",
    "latest_non_vulnerable_version": "4.18.9-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6168?format=api",
            "vulnerability_id": "VCID-35e7-pder-7fcc",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12436.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12436.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12436",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85244",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.02349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85296",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.02349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85305",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.02349",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85297",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12436"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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=1711837",
                    "reference_id": "1711837",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1711837"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4018-1/",
                    "reference_id": "USN-4018-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4018-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/132004?format=api",
                    "purl": "pkg:apk/alpine/samba@4.10.5-r0?arch=x86&distroversion=v3.18&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.10.5-r0%3Farch=x86&distroversion=v3.18&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2019-12436"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-35e7-pder-7fcc"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/6167?format=api",
            "vulnerability_id": "VCID-th9n-4c91-73eb",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12435.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-12435.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12435",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03816",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88376",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.03816",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88416",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.03816",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88423",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.03816",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88422",
                            "published_at": "2026-06-14T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-12435"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12435",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-12435"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/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=1711816",
                    "reference_id": "1711816",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1711816"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930748",
                    "reference_id": "930748",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=930748"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4018-1/",
                    "reference_id": "USN-4018-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4018-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/132004?format=api",
                    "purl": "pkg:apk/alpine/samba@4.10.5-r0?arch=x86&distroversion=v3.18&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.10.5-r0%3Farch=x86&distroversion=v3.18&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2019-12435"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-th9n-4c91-73eb"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.10.5-r0%3Farch=x86&distroversion=v3.18&reponame=main"
}