Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38602?format=api",
    "vulnerability_id": "VCID-erav-4pk1-wfhc",
    "summary": "Cross-Site Request Forgery (CSRF)\nCross-site request forgery (CSRF) vulnerability in the baserCMS Mail plugin allows remote attackers to hijack the authentication of administrators via unspecified vectors.",
    "aliases": [
        {
            "alias": "CVE-2016-4879"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53549?format=api",
            "purl": "pkg:composer/baserproject/basercms@3.0.11",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/baserproject/basercms@3.0.11"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53548?format=api",
            "purl": "pkg:composer/baserproject/basercms@3.0.10",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-erav-4pk1-wfhc"
                },
                {
                    "vulnerability": "VCID-hdqc-q22s-3yfe"
                },
                {
                    "vulnerability": "VCID-m4g1-p7z3-mydw"
                },
                {
                    "vulnerability": "VCID-ydh5-rg6c-t7gx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/baserproject/basercms@3.0.10"
        }
    ],
    "references": [
        {
            "reference_url": "http://basercms.net/security/JVN92765814",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://basercms.net/security/JVN92765814"
        },
        {
            "reference_url": "https://jvn.jp/en/jp/JVN92765814/index.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://jvn.jp/en/jp/JVN92765814/index.html"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/93217",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/93217"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4879",
            "reference_id": "CVE-2016-4879",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2016-4879"
        }
    ],
    "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": 352,
            "name": "Cross-Site Request Forgery (CSRF)",
            "description": "The web application does not, or can not, sufficiently verify whether a well-formed, valid, consistent request was intentionally provided by the user who submitted the request."
        },
        {
            "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-erav-4pk1-wfhc"
}