Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/44029?format=api",
    "vulnerability_id": "VCID-jrkr-nf43-6fa9",
    "summary": "Mediawiki tarball is missing .htaccess files\nMediawiki 1.31 before 1.31.1 misses .htaccess files in the provided tarball used to protect some directories that shouldn't be web accessible.",
    "aliases": [
        {
            "alias": "CVE-2018-13258"
        },
        {
            "alias": "GHSA-2c28-7gwv-cpgf"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62192?format=api",
            "purl": "pkg:composer/mediawiki/core@1.31.1",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mediawiki/core@1.31.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/62188?format=api",
            "purl": "pkg:composer/mediawiki/core@1.31.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-5d6t-am8p-3kab"
                },
                {
                    "vulnerability": "VCID-cdzw-fsu7-5ybt"
                },
                {
                    "vulnerability": "VCID-dqvd-5d51-sbge"
                },
                {
                    "vulnerability": "VCID-jrkr-nf43-6fa9"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/mediawiki/core@1.31.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/wikimedia/mediawiki",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/wikimedia/mediawiki"
        },
        {
            "reference_url": "https://lists.wikimedia.org/pipermail/wikitech-l/2018-September/090849.html",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://lists.wikimedia.org/pipermail/wikitech-l/2018-September/090849.html"
        },
        {
            "reference_url": "https://phabricator.wikimedia.org/T199029",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://phabricator.wikimedia.org/T199029"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-13258",
            "reference_id": "CVE-2018-13258",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-13258"
        },
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2018-13258.yaml",
            "reference_id": "CVE-2018-13258.YAML",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/mediawiki/core/CVE-2018-13258.yaml"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-2c28-7gwv-cpgf",
            "reference_id": "GHSA-2c28-7gwv-cpgf",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-2c28-7gwv-cpgf"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 284,
            "name": "Improper Access Control",
            "description": "The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor."
        },
        {
            "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-jrkr-nf43-6fa9"
}