Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/304755?format=api",
    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.6.1",
    "type": "maven",
    "namespace": "org.apache.hadoop",
    "name": "hadoop-yarn-server-nodemanager",
    "version": "2.6.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.86598",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "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.86601",
                            "published_at": "2026-04-16T12: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.86535",
                            "published_at": "2026-04-02T12: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.86582",
                            "published_at": "2026-04-09T12: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.86553",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.03008",
                            "scoring_system": "epss",
                            "scoring_elements": "0.86594",
                            "published_at": "2026-04-12T12: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"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/15956?format=api",
            "vulnerability_id": "VCID-rd74-3snq-7bhx",
            "summary": "Exposure of Sensitive Information to an Unauthorized Actor\nThe YARN NodeManager in Apache Hadoop 2.6.x before 2.6.5 and 2.7.x before 2.7.3 can leak the password for credential store provider used by the NodeManager to YARN Applications.",
            "references": [
                {
                    "reference_url": "http://mail-archives.apache.org/mod_mbox/hadoop-general/201701.mbox/%3C0ed32746-5a53-9051-5877-2b1abd88beb6%40apache.org%3E",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/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": "http://mail-archives.apache.org/mod_mbox/hadoop-general/201701.mbox/%3C0ed32746-5a53-9051-5877-2b1abd88beb6%40apache.org%3E"
                },
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-3086",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62504",
                            "published_at": "2026-04-21T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62506",
                            "published_at": "2026-04-11T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62495",
                            "published_at": "2026-04-12T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62472",
                            "published_at": "2026-04-13T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62514",
                            "published_at": "2026-04-16T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62521",
                            "published_at": "2026-04-18T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62364",
                            "published_at": "2026-04-01T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62422",
                            "published_at": "2026-04-02T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62453",
                            "published_at": "2026-04-04T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62419",
                            "published_at": "2026-04-07T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62471",
                            "published_at": "2026-04-08T12:55:00Z"
                        },
                        {
                            "value": "0.00428",
                            "scoring_system": "epss",
                            "scoring_elements": "0.62486",
                            "published_at": "2026-04-09T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-3086"
                },
                {
                    "reference_url": "http://www.securityfocus.com/bid/95335",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/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": "http://www.securityfocus.com/bid/95335"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-3086",
                    "reference_id": "CVE-2016-3086",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.0/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-2016-3086"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-895m-ww55-59vw",
                    "reference_id": "GHSA-895m-ww55-59vw",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "CRITICAL",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-895m-ww55-59vw"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/55265?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.6.5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-a8xd-ukj7-tqbk"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.6.5"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/26313?format=api",
                    "purl": "pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.7.3",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-76cj-vggg-9bhe"
                        },
                        {
                            "vulnerability": "VCID-a8xd-ukj7-tqbk"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.7.3"
                }
            ],
            "aliases": [
                "CVE-2016-3086",
                "GHSA-895m-ww55-59vw"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rd74-3snq-7bhx"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-yarn-server-nodemanager@2.6.1"
}