Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/930981?format=api",
    "purl": "pkg:deb/debian/modsecurity-apache@2.9.5-1?distro=trixie",
    "type": "deb",
    "namespace": "debian",
    "name": "modsecurity-apache",
    "version": "2.9.5-1",
    "qualifiers": {
        "distro": "trixie"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "2.9.6-1",
    "latest_non_vulnerable_version": "2.9.12-2",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/90971?format=api",
            "vulnerability_id": "VCID-kg7a-8fqh-mffc",
            "summary": "security update",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-42717",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83899",
                            "published_at": "2026-04-29T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83765",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83778",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83792",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83793",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83817",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83823",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83839",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83833",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83828",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83862",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8386",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83886",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.0204",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83894",
                            "published_at": "2026-04-26T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-42717"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42717",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42717"
                },
                {
                    "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://usn.ubuntu.com/6370-1/",
                    "reference_id": "USN-6370-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/6370-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930982?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.3-3%2Bdeb11u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.3-3%252Bdeb11u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930973?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.3-3%2Bdeb11u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.3-3%252Bdeb11u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930981?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.5-1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.5-1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930971?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.7-1%2Bdeb12u2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.7-1%252Bdeb12u2%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930975?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.11-1%2Bdeb13u1?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.11-1%252Bdeb13u1%3Fdistro=trixie"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/930974?format=api",
                    "purl": "pkg:deb/debian/modsecurity-apache@2.9.12-2?distro=trixie",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.12-2%3Fdistro=trixie"
                }
            ],
            "aliases": [
                "CVE-2021-42717"
            ],
            "risk_score": 1.9,
            "exploitability": "0.5",
            "weighted_severity": "3.8",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-kg7a-8fqh-mffc"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/modsecurity-apache@2.9.5-1%3Fdistro=trixie"
}