Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40115?format=api",
    "vulnerability_id": "VCID-737y-rfry-dqed",
    "summary": "Concurrent Execution using Shared Resource with Improper Synchronization (Race Condition)\nA race-condition flaw was discovered in openstack-neutron: following a minor overcloud update, neutron security groups were disabled.",
    "aliases": [
        {
            "alias": "CVE-2017-7543"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/11962?format=api",
            "purl": "pkg:pypi/neutron@10.0.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1444-3h31-3kdv"
                },
                {
                    "vulnerability": "VCID-69mn-brsx-xydy"
                },
                {
                    "vulnerability": "VCID-jecq-8kqy-sfg8"
                },
                {
                    "vulnerability": "VCID-mcet-nkj3-bug8"
                },
                {
                    "vulnerability": "VCID-p5ww-51mu-buf5"
                },
                {
                    "vulnerability": "VCID-p6g8-396q-t7ck"
                },
                {
                    "vulnerability": "VCID-t5sb-ghkg-zbb6"
                },
                {
                    "vulnerability": "VCID-wa91-gzx6-h7gu"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/neutron@10.0.5"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56172?format=api",
            "purl": "pkg:pypi/neutron@7.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-737y-rfry-dqed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/neutron@7.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56173?format=api",
            "purl": "pkg:pypi/neutron@8.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-6mxz-st39-zyh3"
                },
                {
                    "vulnerability": "VCID-737y-rfry-dqed"
                },
                {
                    "vulnerability": "VCID-cwwz-4a6e-tugg"
                },
                {
                    "vulnerability": "VCID-m7vh-gw28-wbas"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/neutron@8.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56174?format=api",
            "purl": "pkg:pypi/neutron@9.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-737y-rfry-dqed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/neutron@9.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56175?format=api",
            "purl": "pkg:pypi/neutron@10.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-737y-rfry-dqed"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/neutron@10.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7543",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2017-7543"
        },
        {
            "reference_url": "http://www.securityfocus.com/bid/100237",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "http://www.securityfocus.com/bid/100237"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7543",
            "reference_id": "CVE-2017-7543",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2017-7543"
        }
    ],
    "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": 362,
            "name": "Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')",
            "description": "The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently."
        },
        {
            "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-737y-rfry-dqed"
}