Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43932?format=api",
    "vulnerability_id": "VCID-c6vr-e9zn-cbaz",
    "summary": "EC-CUBE Open redirect vulnerability\nOpen redirect vulnerability in EC-CUBE (EC-CUBE 3.0.0, EC-CUBE 3.0.1, EC-CUBE 3.0.2, EC-CUBE 3.0.3, EC-CUBE 3.0.4, EC-CUBE 3.0.5, EC-CUBE 3.0.6, EC-CUBE 3.0.7, EC-CUBE 3.0.8, EC-CUBE 3.0.9, EC-CUBE 3.0.10, EC-CUBE 3.0.11, EC-CUBE 3.0.12, EC-CUBE 3.0.12-p1, EC-CUBE 3.0.13, EC-CUBE 3.0.14, EC-CUBE 3.0.15, EC-CUBE 3.0.16) allows remote attackers to redirect users to arbitrary web sites and conduct phishing attacks via unspecified vectors.",
    "aliases": [
        {
            "alias": "CVE-2018-16191"
        },
        {
            "alias": "GHSA-fcgg-qgxg-2g2x"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/63148?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@3.0.17",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@3.0.17"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56415?format=api",
            "purl": "pkg:composer/ec-cube/ec-cube@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-c6vr-e9zn-cbaz"
                },
                {
                    "vulnerability": "VCID-fuus-wqhf-s3be"
                },
                {
                    "vulnerability": "VCID-he32-4cf1-akf5"
                },
                {
                    "vulnerability": "VCID-mr5c-68tz-nfbn"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/ec-cube/ec-cube@3.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/EC-CUBE/ec-cube",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/EC-CUBE/ec-cube"
        },
        {
            "reference_url": "https://jvn.jp/en/jp/JVN25359688/index.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jvn.jp/en/jp/JVN25359688/index.html"
        },
        {
            "reference_url": "https://www.ec-cube.net/info/weakness/20181113",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.ec-cube.net/info/weakness/20181113"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16191",
            "reference_id": "CVE-2018-16191",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-16191"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-fcgg-qgxg-2g2x",
            "reference_id": "GHSA-fcgg-qgxg-2g2x",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-fcgg-qgxg-2g2x"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 601,
            "name": "URL Redirection to Untrusted Site ('Open Redirect')",
            "description": "A web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a Redirect. This simplifies phishing attacks."
        },
        {
            "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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c6vr-e9zn-cbaz"
}