Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40273?format=api",
    "vulnerability_id": "VCID-hbp1-4yaj-nyhq",
    "summary": "Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')\nDirectory traversal vulnerability in Spark 2.5 allows remote attackers to read arbitrary files via a .. (dot dot) in the URI.",
    "aliases": [
        {
            "alias": "CVE-2016-9177"
        },
        {
            "alias": "GHSA-89gc-6cw6-4vch"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56511?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.5.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.5.2"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182098?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@1.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@1.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182099?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182100?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@1.1.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@1.1.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182101?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182102?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182103?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182104?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182105?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182106?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/182107?format=api",
            "purl": "pkg:maven/com.sparkjava/spark-core@2.5.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-hbp1-4yaj-nyhq"
                },
                {
                    "vulnerability": "VCID-jt5z-2bjf-rye2"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:maven/com.sparkjava/spark-core@2.5.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/errata/RHSA-2017:0868",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://access.redhat.com/errata/RHSA-2017:0868"
        },
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-9177.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2016-9177.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2016-9177",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.0551",
                    "scoring_system": "epss",
                    "scoring_elements": "0.90398",
                    "published_at": "2026-06-04T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2016-9177"
        },
        {
            "reference_url": "http://seclists.org/fulldisclosure/2016/Nov/13",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://seclists.org/fulldisclosure/2016/Nov/13"
        },
        {
            "reference_url": "https://github.com/perwendel/spark",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/perwendel/spark"
        },
        {
            "reference_url": "https://github.com/perwendel/spark/issues/700",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/perwendel/spark/issues/700"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/94218",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "http://www.securityfocus.com/bid/94218"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=1393607",
            "reference_id": "1393607",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1393607"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-9177",
            "reference_id": "CVE-2016-9177",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-9177"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-89gc-6cw6-4vch",
            "reference_id": "GHSA-89gc-6cw6-4vch",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "HIGH",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-89gc-6cw6-4vch"
        }
    ],
    "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": "7.0 - 8.9",
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hbp1-4yaj-nyhq"
}