Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/143655?format=api",
    "purl": "pkg:rpm/redhat/samba@4.9.8-110?arch=el6rhs",
    "type": "rpm",
    "namespace": "redhat",
    "name": "samba",
    "version": "4.9.8-110",
    "qualifiers": {
        "arch": "el6rhs"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/100699?format=api",
            "vulnerability_id": "VCID-ss54-ft8h-rufv",
            "summary": "A flaw was found in samba versions 4.9.x up to 4.9.13, samba 4.10.x up to 4.10.8 and samba 4.11.x up to 4.11.0rc3, when certain parameters were set in the samba configuration file. An unauthenticated attacker could use this flaw to escape the shared directory and access the contents of directories outside the share.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-10197.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2019-10197.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2019-10197",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0479",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89662",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.0479",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89679",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.0479",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8968",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2019-10197"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10197",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-10197"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "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:H/I:N/A:N"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1746225",
                    "reference_id": "1746225",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1746225"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202003-52",
                    "reference_id": "GLSA-202003-52",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202003-52"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:3253",
                    "reference_id": "RHSA-2019:3253",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:3253"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:4023",
                    "reference_id": "RHSA-2019:4023",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:4023"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:1084",
                    "reference_id": "RHSA-2020:1084",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:1084"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2020:1878",
                    "reference_id": "RHSA-2020:1878",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2020:1878"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/4121-1/",
                    "reference_id": "USN-4121-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/4121-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2019-10197"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ss54-ft8h-rufv"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "3.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/samba@4.9.8-110%3Farch=el6rhs"
}