Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/42465?format=api",
    "vulnerability_id": "VCID-ydy1-x277-1fhj",
    "summary": "Incorrect Authorization\nThe Quick Edit module does not properly check entity access in some circumstances. This could result in users with the \"access in-place editing\" permission viewing some content they are are not authorized to access. Sites are only affected if the QuickEdit module (which comes with the Standard profile) is installed.",
    "aliases": [
        {
            "alias": "CVE-2022-25270"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60697?format=api",
            "purl": "pkg:composer/drupal/core@9.2.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.2.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60698?format=api",
            "purl": "pkg:composer/drupal/core@9.3.6",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-r1hd-d39y-syhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.3.6"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60716?format=api",
            "purl": "pkg:composer/drupal/core-recommended@9.2.13",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core-recommended@9.2.13"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60717?format=api",
            "purl": "pkg:composer/drupal/core-recommended@9.3.6",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core-recommended@9.3.6"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60638?format=api",
            "purl": "pkg:composer/drupal/core@9.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2fas-m6vh-myhc"
                },
                {
                    "vulnerability": "VCID-2g67-a42m-qfbh"
                },
                {
                    "vulnerability": "VCID-2t34-82p3-73c3"
                },
                {
                    "vulnerability": "VCID-7v89-2sss-hfaz"
                },
                {
                    "vulnerability": "VCID-dav9-pgdh-8yey"
                },
                {
                    "vulnerability": "VCID-ydy1-x277-1fhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60696?format=api",
            "purl": "pkg:composer/drupal/core@9.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2g67-a42m-qfbh"
                },
                {
                    "vulnerability": "VCID-ard5-3cjv-1beu"
                },
                {
                    "vulnerability": "VCID-egtv-y9w1-skgr"
                },
                {
                    "vulnerability": "VCID-g1ew-tnk9-cuh7"
                },
                {
                    "vulnerability": "VCID-ydy1-x277-1fhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core@9.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60713?format=api",
            "purl": "pkg:composer/drupal/core-recommended@9.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2g67-a42m-qfbh"
                },
                {
                    "vulnerability": "VCID-ydy1-x277-1fhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core-recommended@9.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/60714?format=api",
            "purl": "pkg:composer/drupal/core-recommended@9.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2g67-a42m-qfbh"
                },
                {
                    "vulnerability": "VCID-ydy1-x277-1fhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/core-recommended@9.3.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59397?format=api",
            "purl": "pkg:composer/drupal/drupal@9.2.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2g67-a42m-qfbh"
                },
                {
                    "vulnerability": "VCID-9cr8-u5tp-yuc9"
                },
                {
                    "vulnerability": "VCID-upk3-jyze-e3gx"
                },
                {
                    "vulnerability": "VCID-ydy1-x277-1fhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.2.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/59398?format=api",
            "purl": "pkg:composer/drupal/drupal@9.3.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2g67-a42m-qfbh"
                },
                {
                    "vulnerability": "VCID-9cr8-u5tp-yuc9"
                },
                {
                    "vulnerability": "VCID-ard5-3cjv-1beu"
                },
                {
                    "vulnerability": "VCID-egtv-y9w1-skgr"
                },
                {
                    "vulnerability": "VCID-g1ew-tnk9-cuh7"
                },
                {
                    "vulnerability": "VCID-upk3-jyze-e3gx"
                },
                {
                    "vulnerability": "VCID-ydy1-x277-1fhj"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.3.0"
        }
    ],
    "references": [
        {
            "reference_url": "https://www.drupal.org/sa-core-2022-004",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://www.drupal.org/sa-core-2022-004"
        },
        {
            "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25270",
            "reference_id": "CVE-2022-25270",
            "reference_type": "",
            "scores": [],
            "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25270"
        }
    ],
    "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": 863,
            "name": "Incorrect Authorization",
            "description": "The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check. This allows attackers to bypass intended access restrictions."
        },
        {
            "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-ydy1-x277-1fhj"
}