Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/13905?format=api",
    "vulnerability_id": "VCID-zjq7-gsc9-y7ep",
    "summary": "Improper Link Resolution Before File Access ('Link Following')\nHadoop 1.0.3 contains a symlink vulnerability.",
    "aliases": [
        {
            "alias": "CVE-2012-2945"
        },
        {
            "alias": "GHSA-v5c9-98f7-2h54"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181593?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@2.0.0-alpha",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@2.0.0-alpha"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181583?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-qwzh-r4an-rubv"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181584?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181585?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181586?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181587?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181588?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181589?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.8"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181590?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.9",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.9"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181591?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.10"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/181592?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@0.23.11",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-9wd5-xmya-xug6"
                },
                {
                    "vulnerability": "VCID-j858-d38m-vfhc"
                },
                {
                    "vulnerability": "VCID-kt1w-97bw-r7bp"
                },
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@0.23.11"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/49945?format=api",
            "purl": "pkg:maven/org.apache.hadoop/hadoop-main@1.0.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-zjq7-gsc9-y7ep"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/org.apache.hadoop/hadoop-main@1.0.3"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2945.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2012-2945.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2945",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82386",
                    "published_at": "2026-04-18T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82282",
                    "published_at": "2026-04-01T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82296",
                    "published_at": "2026-04-02T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82314",
                    "published_at": "2026-04-04T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82309",
                    "published_at": "2026-04-07T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82336",
                    "published_at": "2026-04-08T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82343",
                    "published_at": "2026-04-09T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82363",
                    "published_at": "2026-04-11T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82357",
                    "published_at": "2026-04-12T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82351",
                    "published_at": "2026-04-13T12:55:00Z"
                },
                {
                    "value": "0.01713",
                    "scoring_system": "epss",
                    "scoring_elements": "0.82385",
                    "published_at": "2026-04-16T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2012-2945"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535861",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=535861"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.2",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/apache/hadoop",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/apache/hadoop"
        },
        {
            "reference_url": "https://seclists.org/fulldisclosure/2012/Jul/3",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://seclists.org/fulldisclosure/2012/Jul/3"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1775204",
            "reference_id": "1775204",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1775204"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:hadoop:1.0.3:*:*:*:*:*:*:*",
            "reference_id": "cpe:2.3:a:apache:hadoop:1.0.3:*:*:*:*:*:*:*",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/search/results?adv_search=true&isCpeNameSearch=true&query=cpe:2.3:a:apache:hadoop:1.0.3:*:*:*:*:*:*:*"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2945",
            "reference_id": "CVE-2012-2945",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.0",
                    "scoring_system": "cvssv2",
                    "scoring_elements": "AV:N/AC:L/Au:N/C:N/I:P/A:N"
                },
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2012-2945"
        },
        {
            "reference_url": "https://security-tracker.debian.org/tracker/CVE-2012-2945",
            "reference_id": "CVE-2012-2945",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://security-tracker.debian.org/tracker/CVE-2012-2945"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-v5c9-98f7-2h54",
            "reference_id": "GHSA-v5c9-98f7-2h54",
            "reference_type": "",
            "scores": [
                {
                    "value": "HIGH",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-v5c9-98f7-2h54"
        }
    ],
    "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": 59,
            "name": "Improper Link Resolution Before File Access ('Link Following')",
            "description": "The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource."
        },
        {
            "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."
        },
        {
            "cwe_id": 377,
            "name": "Insecure Temporary File",
            "description": "Creating and using insecure temporary files can leave application and system data vulnerable to attack."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.0 - 8.9",
    "exploitability": "0.5",
    "weighted_severity": "8.0",
    "risk_score": 4.0,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-zjq7-gsc9-y7ep"
}