Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/187526?format=api",
    "purl": "pkg:rpm/redhat/gzip@1.3.3-12?arch=rhel3",
    "type": "rpm",
    "namespace": "redhat",
    "name": "gzip",
    "version": "1.3.3-12",
    "qualifiers": {
        "arch": "rhel3"
    },
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/72126?format=api",
            "vulnerability_id": "VCID-22yj-um9m-8bfa",
            "summary": "Directory traversal vulnerability in gunzip -N in gzip 1.2.4 through 1.3.5 allows remote attackers to write to arbitrary directories via a .. (dot dot) in the original filename within a compressed file.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-1228.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-1228.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2005-1228",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.04585",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8941",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.04585",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89429",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.04585",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89428",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.04585",
                            "scoring_system": "epss",
                            "scoring_elements": "0.89427",
                            "published_at": "2026-06-07T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2005-1228"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1228",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-1228"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617616",
                    "reference_id": "1617616",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617616"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2005:357",
                    "reference_id": "RHSA-2005:357",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2005:357"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/116-1/",
                    "reference_id": "USN-116-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/116-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2005-1228"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-22yj-um9m-8bfa"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/61685?format=api",
            "vulnerability_id": "VCID-jq8f-p32j-pqbh",
            "summary": "zgrep in gzip before 1.3.5 does not properly sanitize arguments, which allows local users to execute arbitrary commands via filenames that are injected into a sed script.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-0758.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-0758.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0758",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40186",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40268",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.4027",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40243",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00186",
                            "scoring_system": "epss",
                            "scoring_elements": "0.40213",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0758"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0758",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0758"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617573",
                    "reference_id": "1617573",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617573"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321286",
                    "reference_id": "321286",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=321286"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2005:357",
                    "reference_id": "RHSA-2005:357",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2005:357"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2005:474",
                    "reference_id": "RHSA-2005:474",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2005:474"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/158-1/",
                    "reference_id": "USN-158-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/158-1/"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/161-1/",
                    "reference_id": "USN-161-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/161-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2005-0758"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jq8f-p32j-pqbh"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/72125?format=api",
            "vulnerability_id": "VCID-vb2n-e9k4-kfat",
            "summary": "Race condition in gzip 1.2.4, 1.3.3, and earlier, when decompressing a gzipped file, allows local users to modify permissions of arbitrary files via a hard link attack on a file while it is being decompressed, whose permissions are changed by gzip after the decompression is complete.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-0988.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2005-0988.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0988",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00115",
                            "scoring_system": "epss",
                            "scoring_elements": "0.2975",
                            "published_at": "2026-06-04T12:55:00Z"
                        },
                        {
                            "value": "0.00115",
                            "scoring_system": "epss",
                            "scoring_elements": "0.29818",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00115",
                            "scoring_system": "epss",
                            "scoring_elements": "0.29781",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.00115",
                            "scoring_system": "epss",
                            "scoring_elements": "0.29748",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00115",
                            "scoring_system": "epss",
                            "scoring_elements": "0.29715",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2005-0988"
                },
                {
                    "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0988",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2005-0988"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617595",
                    "reference_id": "1617595",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1617595"
                },
                {
                    "reference_url": "https://access.redhat.com/errata/RHSA-2005:357",
                    "reference_id": "RHSA-2005:357",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://access.redhat.com/errata/RHSA-2005:357"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/116-1/",
                    "reference_id": "USN-116-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/116-1/"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2005-0988"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vb2n-e9k4-kfat"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:rpm/redhat/gzip@1.3.3-12%3Farch=rhel3"
}