Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/932985?format=api",
    "purl": "pkg:deb/debian/nss@2:3.42.1-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "nss",
    "version": "2:3.42.1-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2:3.45-1",
    "latest_non_vulnerable_version": "2:3.121-1",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/60444?format=api",
            "vulnerability_id": "VCID-fgv4-bz59-h7g7",
            "summary": "Multiple vulnerabilities have been found in Mozilla Network\n    Security Service (NSS), the worst of which may lead to arbitrary code\n    execution.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-18508.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "6.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2018-18508.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2018-18508",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68142",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68165",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68183",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68161",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68212",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68228",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68253",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.6824",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00558",
                            "scoring_system": "epss",
                            "scoring_elements": "0.68206",
                            "published_at": "2026-04-13T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2018-18508"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18508",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-18508"
                },
                {
                    "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:N/UI:R/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=1671310",
                    "reference_id": "1671310",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1671310"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921614",
                    "reference_id": "921614",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=921614"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/202003-37",
                    "reference_id": "GLSA-202003-37",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/202003-37"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2019:1951",
                    "reference_id": "RHSA-2019:1951",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2019:1951"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3898-1/",
                    "reference_id": "USN-3898-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3898-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/3898-2/",
                    "reference_id": "USN-3898-2",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/3898-2/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932985?format=api",
                    "purl": "pkg:deb/debian/nss@2:3.42.1-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nss@2:3.42.1-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932959?format=api",
                    "purl": "pkg:deb/debian/nss@2:3.61-1%2Bdeb11u3?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2tts-gwgd-zqcz"
                        },
                        {
                            "vulnerability": "VCID-3nrj-5r53-37ab"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nss@2:3.61-1%252Bdeb11u3%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932957?format=api",
                    "purl": "pkg:deb/debian/nss@2:3.87.1-1%2Bdeb12u1?distro=trixie",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-2tts-gwgd-zqcz"
                        },
                        {
                            "vulnerability": "VCID-3nrj-5r53-37ab"
                        },
                        {
                            "vulnerability": "VCID-gret-hn3p-5kbk"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nss@2:3.87.1-1%252Bdeb12u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932961?format=api",
                    "purl": "pkg:deb/debian/nss@2:3.110-1%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nss@2:3.110-1%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/932960?format=api",
                    "purl": "pkg:deb/debian/nss@2:3.121-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nss@2:3.121-1%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2018-18508"
            ],
            "risk_score": 3.0,
            "exploitability": "0.5",
            "weighted_severity": "5.9",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-fgv4-bz59-h7g7"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/nss@2:3.42.1-1%3Fdistro=trixie"
}