Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/102822?format=api",
    "purl": "pkg:rpm/redhat/samba@4.11.6-107?arch=el7rhgs",
    "type": "rpm",
    "namespace": "redhat",
    "name": "samba",
    "version": "4.11.6-107",
    "qualifiers": {
        "arch": "el7rhgs"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44829?format=api",
            "vulnerability_id": "VCID-vu43-fq85-a7eq",
            "summary": "Multiple vulnerabilities have been found in Samba, the worst of\n    which could result in a Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2020-10730.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/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-2020-10730.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2020-10730",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86825",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86986",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8695",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86968",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86836",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86855",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86849",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86868",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86877",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8689",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86885",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8688",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86898",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86903",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8692",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86926",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.0314",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86929",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2020-10730"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10730"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-27840"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-20277"
                },
                {
                    "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.1",
                            "scoring_elements": "CVSS:3.1/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=1849489",
                    "reference_id": "1849489",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1849489"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-1202",
                    "reference_id": "AVG-1202",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-1202"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202007-15",
                    "reference_id": "GLSA-202007-15",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202007-15"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3118",
                    "reference_id": "RHSA-2020:3118",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3118"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:3119",
                    "reference_id": "RHSA-2020:3119",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:3119"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:4568",
                    "reference_id": "RHSA-2020:4568",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:4568"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4409-1/",
                    "reference_id": "USN-4409-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4409-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2020-10730"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vu43-fq85-a7eq"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba@4.11.6-107%3Farch=el7rhgs"
}