Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39253?format=api",
    "vulnerability_id": "VCID-axtb-1njj-rbb4",
    "summary": "Cross-Site Request Forgery (CSRF)\nphpMyAdmin versions is vulnerable to a CSRF weakness. By deceiving a user to click on a crafted URL, it is possible to perform harmful database operations such as deleting records, dropping or truncating tables etc.",
    "aliases": [
        {
            "alias": "CVE-2017-1000499"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54801?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.7.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.7.7"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52549?format=api",
            "purl": "pkg:composer/phpmyadmin/phpmyadmin@4.7.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-axtb-1njj-rbb4"
                },
                {
                    "vulnerability": "VCID-q45d-5bf4-tff5"
                },
                {
                    "vulnerability": "VCID-r4zz-m2mr-9qeb"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/phpmyadmin/phpmyadmin@4.7.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.exploit-db.com/exploits/45284/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.exploit-db.com/exploits/45284/"
        },
        {
            "reference_url": "https://www.phpmyadmin.net/security/PMASA-2017-9/",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.phpmyadmin.net/security/PMASA-2017-9/"
        },
        {
            "reference_url": "http://www.securitytracker.com/id/1040163",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securitytracker.com/id/1040163"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000499",
            "reference_id": "CVE-2017-1000499",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-1000499"
        }
    ],
    "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-axtb-1njj-rbb4"
}