Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/509897?format=api",
    "purl": "pkg:deb/debian/dxflib@3.17.0-3",
    "type": "deb",
    "namespace": "debian",
    "name": "dxflib",
    "version": "3.17.0-3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "3.26.4-1",
    "latest_non_vulnerable_version": "3.26.4-1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/65225?format=api",
            "vulnerability_id": "VCID-wj29-19f7-h7dh",
            "summary": "A code execution vulnerability exists in the DL_Dxf::handleLWPolylineData functionality of Ribbonsoft dxflib 3.17.0. A specially-crafted .dxf file can lead to a heap buffer overflow. An attacker can provide a malicious file to trigger this vulnerability.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21897",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02758",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86287",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.02758",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86308",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.02758",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8631",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.02758",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86306",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.02758",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86294",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-21897"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21897",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-21897"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010347",
                    "reference_id": "1010347",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010347"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010348",
                    "reference_id": "1010348",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010348"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010349",
                    "reference_id": "1010349",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1010349"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/509898?format=api",
                    "purl": "pkg:deb/debian/dxflib@3.26.4-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dxflib@3.26.4-1"
                }
            ],
            "aliases": [
                "CVE-2021-21897"
            ],
            "risk_score": 2.2,
            "exploitability": "0.5",
            "weighted_severity": "4.4",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-wj29-19f7-h7dh"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "2.2",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:deb/debian/dxflib@3.17.0-3"
}