Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39964?format=api",
    "vulnerability_id": "VCID-vxtt-ywvm-27g5",
    "summary": "Incorrect Default Permissions\nThe `on_get_missing_events` function in `handlers/federation.py` in Matrix Synapse has a security bug in the `get_missing_events` federation API where event visibility rules were not applied correctly.",
    "aliases": [
        {
            "alias": "CVE-2018-12291"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/13092?format=api",
            "purl": "pkg:pypi/matrix-synapse@0.33.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2q41-366b-jfbs"
                },
                {
                    "vulnerability": "VCID-2uq2-kcfr-87gr"
                },
                {
                    "vulnerability": "VCID-3sbj-6gut-cybe"
                },
                {
                    "vulnerability": "VCID-4vve-jkk2-rueg"
                },
                {
                    "vulnerability": "VCID-6bx9-6prt-vffg"
                },
                {
                    "vulnerability": "VCID-9jy7-pnmw-1bbq"
                },
                {
                    "vulnerability": "VCID-9t8r-dp58-xydr"
                },
                {
                    "vulnerability": "VCID-b461-xbt2-9fg1"
                },
                {
                    "vulnerability": "VCID-bmw9-6jkv-t3ds"
                },
                {
                    "vulnerability": "VCID-bnz6-nw3z-77gd"
                },
                {
                    "vulnerability": "VCID-buj8-8fqz-yyfe"
                },
                {
                    "vulnerability": "VCID-d6yz-j1f9-cfec"
                },
                {
                    "vulnerability": "VCID-djck-vkte-q7he"
                },
                {
                    "vulnerability": "VCID-ewxj-3jt9-p7af"
                },
                {
                    "vulnerability": "VCID-ftmr-xpa4-mbfd"
                },
                {
                    "vulnerability": "VCID-gmab-mbjg-gbet"
                },
                {
                    "vulnerability": "VCID-gre7-9vu7-vqdh"
                },
                {
                    "vulnerability": "VCID-j8zw-nzgv-mkeq"
                },
                {
                    "vulnerability": "VCID-mgxc-w86p-yqcm"
                },
                {
                    "vulnerability": "VCID-mqta-hmxv-duh6"
                },
                {
                    "vulnerability": "VCID-p7my-33nz-puhn"
                },
                {
                    "vulnerability": "VCID-qgzv-dqh8-c3gp"
                },
                {
                    "vulnerability": "VCID-rab2-vwyz-ufdt"
                },
                {
                    "vulnerability": "VCID-swgx-he8k-1qhy"
                },
                {
                    "vulnerability": "VCID-ubx5-xans-8bey"
                },
                {
                    "vulnerability": "VCID-z4xn-smp8-tfcj"
                },
                {
                    "vulnerability": "VCID-zc47-w46p-9bhx"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/matrix-synapse@0.33.5"
        }
    ],
    "affected_packages": [],
    "references": [
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-12291",
            "reference_id": "CVE-2018-12291",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-12291"
        }
    ],
    "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": 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-vxtt-ywvm-27g5"
}