Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/372941?format=api",
    "purl": "pkg:alpm/archlinux/libzip@1.3.0-1",
    "type": "alpm",
    "namespace": "archlinux",
    "name": "libzip",
    "version": "1.3.0-1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/84030?format=api",
            "vulnerability_id": "VCID-2jjz-5u9e-bkbh",
            "summary": "libzip: Double free in _zip_dirent_read function in zip_dirent.c",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12858.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "3.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2017-12858.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12858",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00738",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72802",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00738",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72795",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00738",
                            "scoring_system": "epss",
                            "scoring_elements": "0.72822",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76533",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7649",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76522",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76534",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.7656",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76539",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76575",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76578",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00963",
                            "scoring_system": "epss",
                            "scoring_elements": "0.76567",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77557",
                            "published_at": "2026-05-11T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77575",
                            "published_at": "2026-05-12T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77623",
                            "published_at": "2026-05-14T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77492",
                            "published_at": "2026-04-24T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77519",
                            "published_at": "2026-05-05T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77547",
                            "published_at": "2026-05-07T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77569",
                            "published_at": "2026-05-09T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77498",
                            "published_at": "2026-04-26T12:55:00Z"
                        },
                        {
                            "value": "0.0104",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77513",
                            "published_at": "2026-04-29T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2017-12858"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "4.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:L/AC:L/Au:N/C:P/I:P/A:P"
                        },
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1484514",
                    "reference_id": "1484514",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1484514"
                },
                {
                    "reference_url": "https://security.archlinux.org/ASA-201711-13",
                    "reference_id": "ASA-201711-13",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.archlinux.org/ASA-201711-13"
                },
                {
                    "reference_url": "https://security.archlinux.org/AVG-390",
                    "reference_id": "AVG-390",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "High",
                            "scoring_system": "archlinux",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.archlinux.org/AVG-390"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/372941?format=api",
                    "purl": "pkg:alpm/archlinux/libzip@1.3.0-1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libzip@1.3.0-1"
                }
            ],
            "aliases": [
                "CVE-2017-12858"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-2jjz-5u9e-bkbh"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:alpm/archlinux/libzip@1.3.0-1"
}