Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/934570?format=api",
    "purl": "pkg:deb/debian/pcre3@2:8.39-2.1?distro=bullseye",
    "type": "deb",
    "namespace": "debian",
    "name": "pcre3",
    "version": "2:8.39-2.1",
    "qualifiers": {
        "distro": "bullseye"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2:8.39-3",
    "latest_non_vulnerable_version": "2:8.39-15",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/58170?format=api",
            "vulnerability_id": "VCID-m72x-pqy7-myg3",
            "summary": "A vulnerability in PCRE library allows remote attackers to cause a\n    Denial of Service condition.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-6004.json",
                    "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:N/I:N/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-6004.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-6004",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88508",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88515",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88533",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88536",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88555",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8856",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88571",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88563",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88564",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.04081",
                            "scoring_system": "epss",
                            "scoring_elements": "0.88577",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-6004"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6004",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-6004"
                },
                {
                    "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.1",
                            "scoring_elements": "CVSS:3.1/AV:N/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=1425365",
                    "reference_id": "1425365",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1425365"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855405",
                    "reference_id": "855405",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=855405"
                },
                {
                    "reference_url": "https://security.gentoo.org/glsa/201706-11",
                    "reference_id": "GLSA-201706-11",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.gentoo.org/glsa/201706-11"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/5665-1/",
                    "reference_id": "USN-5665-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/5665-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/934570?format=api",
                    "purl": "pkg:deb/debian/pcre3@2:8.39-2.1?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre3@2:8.39-2.1%3Fdistro=bullseye"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/934557?format=api",
                    "purl": "pkg:deb/debian/pcre3@2:8.39-13?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre3@2:8.39-13%3Fdistro=bullseye"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/934555?format=api",
                    "purl": "pkg:deb/debian/pcre3@2:8.39-15?distro=bullseye",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre3@2:8.39-15%3Fdistro=bullseye"
                }
            ],
            "aliases": [
                "CVE-2017-6004"
            ],
            "risk_score": 3.4,
            "exploitability": "0.5",
            "weighted_severity": "6.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-m72x-pqy7-myg3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/pcre3@2:8.39-2.1%3Fdistro=bullseye"
}