Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/326282?format=api",
    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server@2.7.6",
    "type": "maven",
    "namespace": "org.apache.hadoop",
    "name": "hadoop-yarn-server",
    "version": "2.7.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.10.2",
    "latest_non_vulnerable_version": "3.3.4",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53302?format=api",
            "vulnerability_id": "VCID-r29h-hzhg-uyce",
            "summary": "Deserialization of Untrusted Data in Apache Hadoop YARN\nZKConfigurationStore which is optionally used by CapacityScheduler of Apache Hadoop YARN deserializes data obtained from ZooKeeper without validation. An attacker having access to ZooKeeper can run arbitrary commands as YARN user by exploiting this. Users should upgrade to Apache Hadoop 2.10.2, 3.2.4, 3.3.4 or later (containing YARN-11126) if ZKConfigurationStore is used.",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25642.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.5",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2021-25642.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25642",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.859",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85817",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85829",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85846",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8585",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85869",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85879",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85893",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85891",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85886",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85904",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.02702",
                            "scoring_system": "epss",
                            "scoring_elements": "0.85908",
                            "published_at": "2026-04-18T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2021-25642"
                },
                {
                    "reference_url": "https://github.com/apache/hadoop",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/hadoop"
                },
                {
                    "reference_url": "https://github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/hadoop/commit/5e2f4339fadc88f20543915fc9b0aaeaf4f9e7bf"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread/g6vf2h4wdgzzdgk91mqozhs58wotq150"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25642",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-25642"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20221201-0003",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "8.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20221201-0003"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20221201-0003/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20221201-0003/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2127281",
                    "reference_id": "2127281",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2127281"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-rr2m-gffv-mgrj",
                    "reference_id": "GHSA-rr2m-gffv-mgrj",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-rr2m-gffv-mgrj"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80919?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server@2.10.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server@2.10.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80920?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server@3.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server@3.2.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/80921?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server@3.3.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server@3.3.4"
                }
            ],
            "aliases": [
                "CVE-2021-25642",
                "GHSA-rr2m-gffv-mgrj"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-r29h-hzhg-uyce"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server@2.7.6"
}