Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/324278?format=api",
    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.5.1",
    "type": "maven",
    "namespace": "org.apache.hadoop",
    "name": "hadoop-yarn-server-nodemanager",
    "version": "2.5.1",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "2.10.2",
    "latest_non_vulnerable_version": "3.3.5",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/53290?format=api",
            "vulnerability_id": "VCID-a8xd-ukj7-tqbk",
            "summary": "Apache Hadoop argument injection vulnerability\nApache Hadoop's `FileUtil.unTar(File, File)` API does not escape the input file name before being passed to the shell. An attacker can inject arbitrary commands. This is only used in Hadoop 3.3 InMemoryAliasMap.completeBootstrapTransfer, which is only ever run by a local user. It has been used in Hadoop 2.x for yarn localization, which does enable remote code execution. It is used in Apache Spark, from the SQL command ADD ARCHIVE. As the ADD ARCHIVE command adds new binaries to the classpath, being able to execute shell scripts does not confer new permissions to the caller. SPARK-38305. \"Check existence of file before untarring/zipping\", which is included in 3.3.0, 3.1.4, 3.2.2, prevents shell commands being executed, regardless of which version of the hadoop libraries are in use. Users should upgrade to Apache Hadoop 2.10.2, 3.2.4, 3.3.3 or upper (including HADOOP-18136).",
            "references": [
                {
                    "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25168.json",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        }
                    ],
                    "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2022-25168.json"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25168",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86606",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86535",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86553",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86572",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86582",
                            "published_at": "2026-04-09T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86597",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86594",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86586",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86601",
                            "published_at": "2026-04-16T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2022-25168"
                },
                {
                    "reference_url": "https://github.com/apache/hadoop",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/hadoop"
                },
                {
                    "reference_url": "https://github.com/apache/hadoop/commit/cae749b076f35f0be13a926ee8cfbb7ce4402746",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/apache/hadoop/commit/cae749b076f35f0be13a926ee8cfbb7ce4402746"
                },
                {
                    "reference_url": "https://lists.apache.org/thread/mxqnb39jfrwgs3j6phwvlrfq4mlox130",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://lists.apache.org/thread/mxqnb39jfrwgs3j6phwvlrfq4mlox130"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25168",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25168"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20220915-0007",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20220915-0007"
                },
                {
                    "reference_url": "https://security.netapp.com/advisory/ntap-20220915-0007/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://security.netapp.com/advisory/ntap-20220915-0007/"
                },
                {
                    "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2119084",
                    "reference_id": "2119084",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2119084"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-8wm5-8h9c-47pc",
                    "reference_id": "GHSA-8wm5-8h9c-47pc",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-8wm5-8h9c-47pc"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/324289?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.10.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.10.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/324303?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@3.2.4",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@3.2.4"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/324306?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@3.3.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-q8gj-qdrr-j7cb"
                        },
                        {
                            "vulnerability": "VCID-r29h-hzhg-uyce"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@3.3.3"
                }
            ],
            "aliases": [
                "CVE-2022-25168",
                "GHSA-8wm5-8h9c-47pc"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a8xd-ukj7-tqbk"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.5.1"
}