Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/39459?format=api",
    "vulnerability_id": "VCID-wbt9-snjj-uuea",
    "summary": "Improper signature validation\nThe `XmlSecLibs` library as used in the saml2 library in SimpleSAMLphp incorrectly verifies signatures on SAML assertions, allowing a remote attacker to construct a crafted SAML assertion on behalf of an Identity Provider that would pass as cryptographically valid, thereby allowing them to impersonate a user from that Identity Provider, aka a key confusion issue.",
    "aliases": [
        {
            "alias": "CVE-2018-7644"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55121?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@1.10.5",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@1.10.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55122?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@2.3.7",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@2.3.7"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/55123?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@3.1.3",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@3.1.3"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/53292?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@2.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ucwf-xdma-h7fc"
                },
                {
                    "vulnerability": "VCID-v3bx-f3um-8ubc"
                },
                {
                    "vulnerability": "VCID-wbt9-snjj-uuea"
                },
                {
                    "vulnerability": "VCID-xx6m-pvgs-puga"
                },
                {
                    "vulnerability": "VCID-zemd-kbb3-s3cr"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@2.0.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54981?format=api",
            "purl": "pkg:composer/simplesamlphp/saml2@3.0.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-ucwf-xdma-h7fc"
                },
                {
                    "vulnerability": "VCID-wbt9-snjj-uuea"
                },
                {
                    "vulnerability": "VCID-xx6m-pvgs-puga"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/saml2@3.0.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://simplesamlphp.org/security/201802-01",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://simplesamlphp.org/security/201802-01"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7644",
            "reference_id": "CVE-2018-7644",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-7644"
        }
    ],
    "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": 347,
            "name": "Improper Verification of Cryptographic Signature",
            "description": "The product does not verify, or incorrectly verifies, the cryptographic signature for data."
        },
        {
            "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-wbt9-snjj-uuea"
}