Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/340892?format=api",
    "vulnerability_id": "VCID-7hgq-8fr1-h3au",
    "summary": "SimpleSAMLphp Information Disclosure vulnerability",
    "aliases": [
        {
            "alias": "GHSA-ppm4-r2vc-pg74"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81537?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.8",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.8"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/57288?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-mar5-jna5-qygr"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423508?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-mar5-jna5-qygr"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423509?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.2",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-mar5-jna5-qygr"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.2"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81526?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.3",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.3"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423510?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.4",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.4"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423511?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.5",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423512?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/423513?format=api",
            "purl": "pkg:composer/simplesamlphp/simplesamlphp@1.17.7",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-7hgq-8fr1-h3au"
                },
                {
                    "vulnerability": "VCID-gkmq-1g95-9kh5"
                },
                {
                    "vulnerability": "VCID-qdd4-6j2t-hkce"
                },
                {
                    "vulnerability": "VCID-tje1-rfym-qba1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/simplesamlphp/simplesamlphp@1.17.7"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/2019-11-19.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/simplesamlphp/simplesamlphp/2019-11-19.yaml"
        },
        {
            "reference_url": "https://github.com/simplesamlphp/simplesamlphp/commit/0e0d1f745f5491f9e848b1f3e6da198596bb8885",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/simplesamlphp/simplesamlphp/commit/0e0d1f745f5491f9e848b1f3e6da198596bb8885"
        },
        {
            "reference_url": "https://simplesamlphp.org/security/201911-02",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.9",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://simplesamlphp.org/security/201911-02"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-ppm4-r2vc-pg74",
            "reference_id": "GHSA-ppm4-r2vc-pg74",
            "reference_type": "",
            "scores": [
                {
                    "value": "MODERATE",
                    "scoring_system": "cvssv3.1_qr",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/advisories/GHSA-ppm4-r2vc-pg74"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 862,
            "name": "Missing Authorization",
            "description": "The product does not perform an authorization check when an actor attempts to access a resource or perform an action."
        },
        {
            "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": 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."
        }
    ],
    "exploits": [],
    "severity_range_score": "4.0 - 6.9",
    "exploitability": "0.5",
    "weighted_severity": "6.2",
    "risk_score": 3.1,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-7hgq-8fr1-h3au"
}