Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/939068?format=api",
    "purl": "pkg:deb/debian/samba@2:4.13.13%2Bdfsg-1~deb11u1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "samba",
    "version": "2:4.13.13+dfsg-1~deb11u1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2:4.13.13+dfsg-1~deb11u2",
    "latest_non_vulnerable_version": "2:4.24.1+dfsg-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/80058?format=api",
            "vulnerability_id": "VCID-ws2g-8ye2-pkdk",
            "summary": "samba: Null pointer dereference on missing sname in TGS-REQ",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-3671.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-2021-3671.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3671",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86538",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86636",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86628",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86637",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86548",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86567",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86568",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86586",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86596",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8661",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86607",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86599",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86613",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.03013",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86618",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-3671"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3671",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3671"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44758",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44758"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3437",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-3437"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41916",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-41916"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42898",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-42898"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-44640",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-44640"
                },
                {
                    "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=2013080",
                    "reference_id": "2013080",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2013080"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996586",
                    "reference_id": "996586",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996586"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-2418",
                    "reference_id": "AVG-2418",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "Low",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-2418"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5142-1/",
                    "reference_id": "USN-5142-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5142-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5174-1/",
                    "reference_id": "USN-5174-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5174-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5675-1/",
                    "reference_id": "USN-5675-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5675-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939068?format=api",
                    "purl": "pkg:deb/debian/samba@2:4.13.13%2Bdfsg-1~deb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.13.13%252Bdfsg-1~deb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938984?format=api",
                    "purl": "pkg:deb/debian/samba@2:4.13.13%2Bdfsg-1~deb11u6?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-18xs-py1v-xfey"
                        },
                        {
                            "vulnerability": "VCID-28rq-1d68-4bfz"
                        },
                        {
                            "vulnerability": "VCID-2w26-yjmn-k7an"
                        },
                        {
                            "vulnerability": "VCID-3du2-evy8-jfa1"
                        },
                        {
                            "vulnerability": "VCID-5cd3-497h-qkhw"
                        },
                        {
                            "vulnerability": "VCID-68zz-z589-87f6"
                        },
                        {
                            "vulnerability": "VCID-6mju-nwzy-pqeq"
                        },
                        {
                            "vulnerability": "VCID-7xdg-sn88-bkbs"
                        },
                        {
                            "vulnerability": "VCID-84q8-2457-qkc5"
                        },
                        {
                            "vulnerability": "VCID-94k8-98me-x3dw"
                        },
                        {
                            "vulnerability": "VCID-apqw-e2px-yka5"
                        },
                        {
                            "vulnerability": "VCID-b4ty-d775-5fed"
                        },
                        {
                            "vulnerability": "VCID-bc1t-hzu5-bffd"
                        },
                        {
                            "vulnerability": "VCID-bpht-9daq-rfgd"
                        },
                        {
                            "vulnerability": "VCID-fskg-j9fe-6yeg"
                        },
                        {
                            "vulnerability": "VCID-hfsk-4cbd-m3b1"
                        },
                        {
                            "vulnerability": "VCID-kkwp-2x9m-9bgd"
                        },
                        {
                            "vulnerability": "VCID-q2d9-vahb-6qce"
                        },
                        {
                            "vulnerability": "VCID-r7va-6j6s-rba5"
                        },
                        {
                            "vulnerability": "VCID-w4c6-p858-rkaw"
                        },
                        {
                            "vulnerability": "VCID-wxva-f9ay-c3a2"
                        },
                        {
                            "vulnerability": "VCID-xmn1-g72k-8qcq"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.13.13%252Bdfsg-1~deb11u6%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/939064?format=api",
                    "purl": "pkg:deb/debian/samba@2:4.13.13%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.13.13%252Bdfsg-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938982?format=api",
                    "purl": "pkg:deb/debian/samba@2:4.17.12%2Bdfsg-0%2Bdeb12u3?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.17.12%252Bdfsg-0%252Bdeb12u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938986?format=api",
                    "purl": "pkg:deb/debian/samba@2:4.22.8%2Bdfsg-0%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.22.8%252Bdfsg-0%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/938985?format=api",
                    "purl": "pkg:deb/debian/samba@2:4.23.6%2Bdfsg-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.23.6%252Bdfsg-2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/1067630?format=api",
                    "purl": "pkg:deb/debian/samba@2:4.24.1%2Bdfsg-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.24.1%252Bdfsg-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-3671"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-ws2g-8ye2-pkdk"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/samba@2:4.13.13%252Bdfsg-1~deb11u1%3Fdistro=trixie"
}