Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40436?format=api",
    "vulnerability_id": "VCID-e4bh-g4w9-huax",
    "summary": "Path Traversal\nApache Hadoop is exploitable via the zip slip vulnerability in locations that accept a zip file.",
    "aliases": [
        {
            "alias": "CVE-2018-8009"
        },
        {
            "alias": "GHSA-6x48-j4x4-cqw3"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57014?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.7.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.7.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57015?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.8.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.8.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57016?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.9.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.9.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57017?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@3.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@3.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57226?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@2.7.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@2.7.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57225?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@2.8.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@2.8.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57224?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@2.9.2",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@2.9.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57223?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@3.1.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@3.1.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54865?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@0.23.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                },
                {
                    "vulnerability": "VCID-ryz9-55qq-cyd9"
                },
                {
                    "vulnerability": "VCID-wph5-16hk-jkbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@0.23.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54866?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@0.23.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                },
                {
                    "vulnerability": "VCID-ryz9-55qq-cyd9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@0.23.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54867?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                },
                {
                    "vulnerability": "VCID-ryz9-55qq-cyd9"
                },
                {
                    "vulnerability": "VCID-wph5-16hk-jkbj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57009?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.7.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.7.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53660?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bvx1-94m9-7ygh"
                },
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57010?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.8.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cvy-3bve-xkg7"
                },
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.8.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57011?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cvy-3bve-xkg7"
                },
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57012?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@2.9.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cvy-3bve-xkg7"
                },
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@2.9.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53661?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-bvx1-94m9-7ygh"
                },
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                },
                {
                    "vulnerability": "VCID-ryz9-55qq-cyd9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@3.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57013?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-common@3.1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5cvy-3bve-xkg7"
                },
                {
                    "vulnerability": "VCID-e4bh-g4w9-huax"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-common@3.1.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2019:3892",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://access.redhat.com/errata/RHSA-2019:3892"
        },
        {
            "reference_url": "https://hadoop.apache.org/cve_list.html#cve-2018-8009-http-cve-mitre-org-cgi-bin-cvename-cgi-name-cve-2018-8009-zip-slip-impact-on-apache-hadoop",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://hadoop.apache.org/cve_list.html#cve-2018-8009-http-cve-mitre-org-cgi-bin-cvename-cgi-name-cve-2018-8009-zip-slip-impact-on-apache-hadoop"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/708d94141126eac03011144a971a6411fcac16d9c248d1d535a39451@%3Csolr-user.lucene.apache.org%3E"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/a1c227745ce30acbcf388c5b0cc8423e8bf495d619cd0fa973f7f38d@%3Cuser.hadoop.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/a1c227745ce30acbcf388c5b0cc8423e8bf495d619cd0fa973f7f38d@%3Cuser.hadoop.apache.org%3E"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/r4dddf1705dbedfa94392913b2dad1cd2d1d89040facd389eea0b3510@%3Ccommits.druid.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/r4dddf1705dbedfa94392913b2dad1cd2d1d89040facd389eea0b3510@%3Ccommits.druid.apache.org%3E"
        },
        {
            "reference_url": "https://lists.apache.org/thread.html/rb21df54a4e39732ce653d2aa5672e36a792b59eb6717f2a06bb8d02a@%3Ccommits.druid.apache.org%3E",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.apache.org/thread.html/rb21df54a4e39732ce653d2aa5672e36a792b59eb6717f2a06bb8d02a@%3Ccommits.druid.apache.org%3E"
        },
        {
            "reference_url": "https://snyk.io/research/zip-slip-vulnerability",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://snyk.io/research/zip-slip-vulnerability"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/105927",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/105927"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8009",
            "reference_id": "CVE-2018-8009",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-8009"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-6x48-j4x4-cqw3",
            "reference_id": "GHSA-6x48-j4x4-cqw3",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-6x48-j4x4-cqw3"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 1035,
            "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017."
        },
        {
            "cwe_id": 22,
            "name": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')",
            "description": "The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory."
        },
        {
            "cwe_id": 937,
            "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities",
            "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-e4bh-g4w9-huax"
}