Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/55040?format=api",
    "vulnerability_id": "VCID-a1p9-cwzb-kbgb",
    "summary": "silverstripe/framework's install.php script discloses sensitive data by pre-populating DB credential forms\nWhen accessing the `install.php` script it is possible to extract any pre-configured database or default admin account password by viewing the source of the page, and inspecting the `value` property of the password fields.",
    "aliases": [
        {
            "alias": "GHSA-r3pr-fh25-wrfc"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/54917?format=api",
            "purl": "pkg:composer/silverstripe/framework@4.0.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-1mmc-91gk-r3d3"
                },
                {
                    "vulnerability": "VCID-b6nm-cphj-wfgw"
                },
                {
                    "vulnerability": "VCID-cmwn-cjff-9qau"
                },
                {
                    "vulnerability": "VCID-nute-ndg2-z7ev"
                },
                {
                    "vulnerability": "VCID-nzcm-xbxx-wyf9"
                },
                {
                    "vulnerability": "VCID-r1eg-dwej-5kau"
                },
                {
                    "vulnerability": "VCID-ru3j-21j8-ayhm"
                },
                {
                    "vulnerability": "VCID-xg74-3h1h-kqaf"
                },
                {
                    "vulnerability": "VCID-y8et-m846-2fc6"
                },
                {
                    "vulnerability": "VCID-ytbc-8mhd-b3fc"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/framework@4.0.1"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/81605?format=api",
            "purl": "pkg:composer/silverstripe/framework@4.0.0-rc1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-37d1-tt74-yyfm"
                },
                {
                    "vulnerability": "VCID-7hxq-cp29-r7dh"
                },
                {
                    "vulnerability": "VCID-a1p9-cwzb-kbgb"
                },
                {
                    "vulnerability": "VCID-aj7q-x4hc-xbdm"
                },
                {
                    "vulnerability": "VCID-aygc-4nhm-n7eq"
                },
                {
                    "vulnerability": "VCID-b6nm-cphj-wfgw"
                },
                {
                    "vulnerability": "VCID-cmwn-cjff-9qau"
                },
                {
                    "vulnerability": "VCID-fm87-te3v-pkc8"
                },
                {
                    "vulnerability": "VCID-g7kn-gn2m-myc3"
                },
                {
                    "vulnerability": "VCID-h9g1-7wez-8qft"
                },
                {
                    "vulnerability": "VCID-hq36-9ntc-akez"
                },
                {
                    "vulnerability": "VCID-m3us-9sft-wbh8"
                },
                {
                    "vulnerability": "VCID-mkex-ht2r-cucz"
                },
                {
                    "vulnerability": "VCID-nute-ndg2-z7ev"
                },
                {
                    "vulnerability": "VCID-p2m9-rejx-e3e9"
                },
                {
                    "vulnerability": "VCID-r1eg-dwej-5kau"
                },
                {
                    "vulnerability": "VCID-tsdn-bu3d-ubaf"
                },
                {
                    "vulnerability": "VCID-xg74-3h1h-kqaf"
                },
                {
                    "vulnerability": "VCID-y8et-m846-2fc6"
                },
                {
                    "vulnerability": "VCID-yxuh-bxh5-z3cw"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/framework@4.0.0-rc1"
        }
    ],
    "references": [
        {
            "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/silverstripe/framework/SS-2017-010-1.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/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/silverstripe/framework/SS-2017-010-1.yaml"
        },
        {
            "reference_url": "https://github.com/silverstripe/silverstripe-framework",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/silverstripe/silverstripe-framework"
        },
        {
            "reference_url": "https://github.com/silverstripe/silverstripe-framework/commit/7a79cd039a96ef54182263d5fbb72addf093b171",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://github.com/silverstripe/silverstripe-framework/commit/7a79cd039a96ef54182263d5fbb72addf093b171"
        },
        {
            "reference_url": "https://www.silverstripe.org/download/security-releases/ss-2017-010",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "6.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
                },
                {
                    "value": "MODERATE",
                    "scoring_system": "generic_textual",
                    "scoring_elements": ""
                }
            ],
            "url": "https://www.silverstripe.org/download/security-releases/ss-2017-010"
        },
        {
            "reference_url": "https://github.com/advisories/GHSA-r3pr-fh25-wrfc",
            "reference_id": "GHSA-r3pr-fh25-wrfc",
            "reference_type": "",
            "scores": [],
            "url": "https://github.com/advisories/GHSA-r3pr-fh25-wrfc"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 200,
            "name": "Exposure of Sensitive Information to an Unauthorized Actor",
            "description": "The product exposes sensitive information to an actor that is not explicitly authorized to have access to that information."
        },
        {
            "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-a1p9-cwzb-kbgb"
}