Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/38512?format=api",
    "vulnerability_id": "VCID-nwdx-mgsc-s3f3",
    "summary": "Cross Site Request Forgery\nSome administrative paths did not include protection for CSRF. This would allow an attacker to disable some blocks on a site. This issue is mitigated by the fact that users would have to know the block ID.",
    "aliases": [
        {
            "alias": "CVE-2017-6379"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53361?format=api",
            "purl": "pkg:composer/drupal/core@8.2.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@8.2.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53360?format=api",
            "purl": "pkg:composer/drupal/drupal@8.2.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ks17-b29e-73au"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.2.7"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53358?format=api",
            "purl": "pkg:composer/drupal/drupal@8.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ks17-b29e-73au"
                },
                {
                    "vulnerability": "VCID-nwdx-mgsc-s3f3"
                },
                {
                    "vulnerability": "VCID-tbk2-zprq-27c8"
                },
                {
                    "vulnerability": "VCID-uvmv-j9kx-jfeq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53359?format=api",
            "purl": "pkg:composer/drupal/drupal@8.2.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-nwdx-mgsc-s3f3"
                },
                {
                    "vulnerability": "VCID-uvmv-j9kx-jfeq"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@8.2.6"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.drupal.org/SA-2017-001",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.drupal.org/SA-2017-001"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-6379",
            "reference_id": "CVE-2017-6379",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-6379"
        }
    ],
    "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-nwdx-mgsc-s3f3"
}