Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/223901?format=api",
    "purl": "pkg:apk/alpine/samba@4.8.7-r0?arch=aarch64&distroversion=v3.12&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "samba",
    "version": "4.8.7-r0",
    "qualifiers": {
        "arch": "aarch64",
        "distroversion": "v3.12",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.8.11-r0",
    "latest_non_vulnerable_version": "4.12.15-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/180249?format=api",
            "vulnerability_id": "VCID-84p1-hn6w-1qag",
            "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n    which could lead to remote code execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16853.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16853.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16853",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89835",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.04908",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89868",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16853"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16853",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16853"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1647246",
                    "reference_id": "1647246",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1647246"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201811-22",
                    "reference_id": "ASA-201811-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201811-22"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-823",
                    "reference_id": "AVG-823",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-823"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/223901?format=api",
                    "purl": "pkg:apk/alpine/samba@4.8.7-r0?arch=aarch64&distroversion=v3.12&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.8.7-r0%3Farch=aarch64&distroversion=v3.12&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-16853"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-84p1-hn6w-1qag"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4988?format=api",
            "vulnerability_id": "VCID-h3aw-1wmu-2kce",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16841.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.7",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16841.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16841",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.09452",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92993",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.09452",
                            "scoring_system": "epss",
                            "scoring_elements": "0.93016",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16841"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14629",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14629"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16841",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16841"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16851",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16851"
                },
                {
                    "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=1642545",
                    "reference_id": "1642545",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1642545"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201811-22",
                    "reference_id": "ASA-201811-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201811-22"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-823",
                    "reference_id": "AVG-823",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-823"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3827-1/",
                    "reference_id": "USN-3827-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3827-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3827-2/",
                    "reference_id": "USN-3827-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3827-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/223901?format=api",
                    "purl": "pkg:apk/alpine/samba@4.8.7-r0?arch=aarch64&distroversion=v3.12&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.8.7-r0%3Farch=aarch64&distroversion=v3.12&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-16841"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-h3aw-1wmu-2kce"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/4995?format=api",
            "vulnerability_id": "VCID-z6z3-bh6s-x3g3",
            "summary": "",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-16851.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-2018-16851.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16851",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.08925",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92767",
                            "published_at": "2026-06-11T12:55:00Z"
                        },
                        {
                            "value": "0.08925",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92792",
                            "published_at": "2026-06-12T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-16851"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14629",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-14629"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16841",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16841"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16851",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-16851"
                },
                {
                    "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=1646377",
                    "reference_id": "1646377",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1646377"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201811-22",
                    "reference_id": "ASA-201811-22",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201811-22"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-823",
                    "reference_id": "AVG-823",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-823"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3827-1/",
                    "reference_id": "USN-3827-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3827-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3827-2/",
                    "reference_id": "USN-3827-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3827-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/223901?format=api",
                    "purl": "pkg:apk/alpine/samba@4.8.7-r0?arch=aarch64&distroversion=v3.12&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.8.7-r0%3Farch=aarch64&distroversion=v3.12&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-16851"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z6z3-bh6s-x3g3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.8.7-r0%3Farch=aarch64&distroversion=v3.12&reponame=main"
}