Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37942?format=api",
    "vulnerability_id": "VCID-124d-zrmb-xue8",
    "summary": "Multiple vulnerabilities in libxml2, libxslt\nThe vendored libxml2 and libxslt libraries have multiple vulnerabilities: CVE-2015-1819 CVE-2015-7941_1 CVE-2015-7941_2 CVE-2015-7942 CVE-2015-7942-2 CVE-2015-8035 CVE-2015-7995",
    "aliases": [
        {
            "alias": "GMS-2015-42"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52401?format=api",
            "purl": "pkg:gem/nokogiri@1.6.6.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.6.6.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52351?format=api",
            "purl": "pkg:gem/nokogiri@1.6.7.rc4",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.6.7.rc4"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/52349?format=api",
            "purl": "pkg:gem/nokogiri@1.6.7.rc2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-124d-zrmb-xue8"
                },
                {
                    "vulnerability": "VCID-cgmw-k7dg-gbdw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:gem/nokogiri@1.6.7.rc2"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.rdoc#167rc4--2015-11-22",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.rdoc#167rc4--2015-11-22"
        },
        {
            "reference_url": "https://github.com/sparklemotion/nokogiri/blob/v1.6.6.x/CHANGELOG.rdoc#1663--2015-11-16",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/sparklemotion/nokogiri/blob/v1.6.6.x/CHANGELOG.rdoc#1663--2015-11-16"
        },
        {
            "reference_url": "https://github.com/sparklemotion/nokogiri/commit/ac6106f1e641d50b27752c52b355e01d03ae8829",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/sparklemotion/nokogiri/commit/ac6106f1e641d50b27752c52b355e01d03ae8829"
        },
        {
            "reference_url": "https://github.com/sparklemotion/nokogiri/commit/ee52b7be5b47e1029af98f6b7eb6df7fc5ffd359",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/sparklemotion/nokogiri/commit/ee52b7be5b47e1029af98f6b7eb6df7fc5ffd359"
        },
        {
            "reference_url": "https://groups.google.com/forum/#!topic/nokogiri-talk/gEpHWo2xLCE",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://groups.google.com/forum/#!topic/nokogiri-talk/gEpHWo2xLCE"
        }
    ],
    "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-124d-zrmb-xue8"
}