Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/304118?format=api",
    "purl": "pkg:apk/alpine/jq@1.6_rc1-r0?arch=s390x&distroversion=v3.13&reponame=main",
    "type": "apk",
    "namespace": "alpine",
    "name": "jq",
    "version": "1.6_rc1-r0",
    "qualifiers": {
        "arch": "s390x",
        "distroversion": "v3.13",
        "reponame": "main"
    },
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "1.6_rc1-r0",
    "latest_non_vulnerable_version": "1.6_rc1-r0",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/10916?format=api",
            "vulnerability_id": "VCID-njb1-4b9t-jbc9",
            "summary": "Allocation of Resources Without Limits or Throttling\nThe jv_dump_term function in jq allows remote attackers to cause a denial of service (stack consumption and application crash) via a crafted JSON file. This issue has been fixed in jg _rc1-r0.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4074",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00995",
                            "scoring_system": "epss",
                            "scoring_elements": "0.77242",
                            "published_at": "2026-05-30T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-4074"
                },
                {
                    "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "2.6",
                            "scoring_system": "cvssv2",
                            "scoring_elements": "AV:N/AC:H/Au:N/C:N/I:N/A:P"
                        }
                    ],
                    "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
                },
                {
                    "reference_url": "https://github.com/hashicorp/consul/issues/10263",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/hashicorp/consul/issues/10263"
                },
                {
                    "reference_url": "https://github.com/NixOS/nixpkgs/pull/18908",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/NixOS/nixpkgs/pull/18908"
                },
                {
                    "reference_url": "https://github.com/stedolan/jq/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/stedolan/jq/"
                },
                {
                    "reference_url": "https://github.com/stedolan/jq/issues/1136",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/stedolan/jq/issues/1136"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2016/04/24/3",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2016/04/24/3"
                },
                {
                    "reference_url": "http://www.openwall.com/lists/oss-security/2016/04/24/4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://www.openwall.com/lists/oss-security/2016/04/24/4"
                },
                {
                    "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822456",
                    "reference_id": "822456",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=822456"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4074",
                    "reference_id": "CVE-2016-4074",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4074"
                },
                {
                    "reference_url": "https://usn.ubuntu.com/USN-4787-1/",
                    "reference_id": "USN-USN-4787-1",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://usn.ubuntu.com/USN-4787-1/"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/304118?format=api",
                    "purl": "pkg:apk/alpine/jq@1.6_rc1-r0?arch=s390x&distroversion=v3.13&reponame=main",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/jq@1.6_rc1-r0%3Farch=s390x&distroversion=v3.13&reponame=main"
                }
            ],
            "aliases": [
                "CVE-2016-4074"
            ],
            "risk_score": null,
            "exploitability": "0.5",
            "weighted_severity": "0.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-njb1-4b9t-jbc9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:apk/alpine/jq@1.6_rc1-r0%3Farch=s390x&distroversion=v3.13&reponame=main"
}