Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/464391?format=api",
    "purl": "pkg:apk/alpine/samba@4.7.6-r0?arch=armhf&distroversion=v3.17&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "samba",
    "version": "4.7.6-r0",
    "qualifiers": {
        "arch": "armhf",
        "distroversion": "v3.17",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.8.4-r0",
    "latest_non_vulnerable_version": "4.16.6-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46496?format=api",
            "vulnerability_id": "VCID-nted-1p4h-y7fz",
            "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n    which may allow remote execution of arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1050.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1050.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1050",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95782",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95841",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95836",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95839",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95792",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.958",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95803",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95811",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95814",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95818",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9582",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.22357",
                            "scoring_system": "epss",
                            "scoring_elements": "0.95831",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1050"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1050",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1050"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1057",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1057"
                },
                {
                    "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:A/AC:L/PR:N/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=1538771",
                    "reference_id": "1538771",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1538771"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201803-10",
                    "reference_id": "ASA-201803-10",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201803-10"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-651",
                    "reference_id": "AVG-651",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-651"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201805-07",
                    "reference_id": "GLSA-201805-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201805-07"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1860",
                    "reference_id": "RHSA-2018:1860",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1860"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:1883",
                    "reference_id": "RHSA-2018:1883",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:1883"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2612",
                    "reference_id": "RHSA-2018:2612",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2612"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:2613",
                    "reference_id": "RHSA-2018:2613",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:2613"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2018:3056",
                    "reference_id": "RHSA-2018:3056",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2018:3056"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3595-1/",
                    "reference_id": "USN-3595-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3595-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3595-2/",
                    "reference_id": "USN-3595-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3595-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/464391?format=api",
                    "purl": "pkg:apk/alpine/samba@4.7.6-r0?arch=armhf&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.7.6-r0%3Farch=armhf&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-1050"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-nted-1p4h-y7fz"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46497?format=api",
            "vulnerability_id": "VCID-wbrt-6f84-p3gu",
            "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n    which may allow remote execution of arbitrary code.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1057.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.4",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:A/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-1057.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1057",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9189",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91899",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91906",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91913",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91926",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91931",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91935",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91934",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.9195",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91946",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91943",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91948",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91947",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.07722",
                            "scoring_system": "epss",
                            "scoring_elements": "0.91942",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-1057"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1050",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1050"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1057",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-1057"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1553553",
                    "reference_id": "1553553",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1553553"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201803-10",
                    "reference_id": "ASA-201803-10",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201803-10"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-651",
                    "reference_id": "AVG-651",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Critical",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-651"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201805-07",
                    "reference_id": "GLSA-201805-07",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201805-07"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3595-1/",
                    "reference_id": "USN-3595-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3595-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/464391?format=api",
                    "purl": "pkg:apk/alpine/samba@4.7.6-r0?arch=armhf&distroversion=v3.17&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.7.6-r0%3Farch=armhf&distroversion=v3.17&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2018-1057"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wbrt-6f84-p3gu"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/samba@4.7.6-r0%3Farch=armhf&distroversion=v3.17&reponame=main"
}