Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/40091?format=api",
    "vulnerability_id": "VCID-qzhm-3p9t-nffs",
    "summary": "Deserialization of Untrusted Data\nYamlDotNet includes a deserialization vulnerability that can lead to code execution.",
    "aliases": [
        {
            "alias": "CVE-2018-1000210"
        },
        {
            "alias": "GHSA-rpch-cqj9-h65r"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56101?format=api",
            "purl": "pkg:nuget/YamlDotNet@5.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/YamlDotNet@5.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56606?format=api",
            "purl": "pkg:nuget/YamlDotNet.Signed@5.0.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/YamlDotNet.Signed@5.0.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/56605?format=api",
            "purl": "pkg:nuget/YamlDotNet.Signed@4.3.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-qzhm-3p9t-nffs"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:nuget/YamlDotNet.Signed@4.3.2"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35"
        },
        {
            "reference_url": "https://github.com/aaubry/YamlDotNet#version-500",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/aaubry/YamlDotNet#version-500"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000210",
            "reference_id": "CVE-2018-1000210",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-1000210"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-rpch-cqj9-h65r",
            "reference_id": "GHSA-rpch-cqj9-h65r",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-rpch-cqj9-h65r"
        }
    ],
    "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": 639,
            "name": "Authorization Bypass Through User-Controlled Key",
            "description": "The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data."
        },
        {
            "cwe_id": 502,
            "name": "Deserialization of Untrusted Data",
            "description": "The product deserializes untrusted data without sufficiently verifying that the resulting data will be valid."
        },
        {
            "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": 78,
            "name": "Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')",
            "description": "The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component."
        }
    ],
    "exploits": [],
    "severity_range_score": null,
    "exploitability": null,
    "weighted_severity": null,
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qzhm-3p9t-nffs"
}