Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/64972?format=api",
    "purl": "pkg:composer/drupal/drupal@9.4.3",
    "type": "composer",
    "namespace": "drupal",
    "name": "drupal",
    "version": "9.4.3",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "9.4.14",
    "latest_non_vulnerable_version": "10.0.8",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45051?format=api",
            "vulnerability_id": "VCID-3xk4-qwaq-5yaj",
            "summary": "Improper Access Control\nUnder certain circumstances, the Drupal core form API evaluates form element access incorrectly. This may lead to a user being able to alter data they should not have access to. No forms provided by Drupal core are known to be vulnerable. However, forms added through contributed or custom modules or themes may be affected.",
            "references": [
                {
                    "reference_url": "https://www.drupal.org/sa-core-2022-013",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/sa-core-2022-013"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25278",
                    "reference_id": "CVE-2022-25278",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25278"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2022-25278.yaml",
                    "reference_id": "CVE-2022-25278.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2022-25278.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-cfh2-7f6h-3m85",
                    "reference_id": "GHSA-cfh2-7f6h-3m85",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-cfh2-7f6h-3m85"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64971?format=api",
                    "purl": "pkg:composer/drupal/drupal@9.3.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.3.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64972?format=api",
                    "purl": "pkg:composer/drupal/drupal@9.4.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.4.3"
                }
            ],
            "aliases": [
                "CVE-2022-25278",
                "GHSA-cfh2-7f6h-3m85"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-3xk4-qwaq-5yaj"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45048?format=api",
            "vulnerability_id": "VCID-a7ss-tkb6-gkge",
            "summary": "Improper access control\nIn some situations, the Image module does not correctly check access to image files not stored in the standard public files directory when generating derivative images using the image styles system. Access to a non-public file is checked only if it is stored in the \"private\" file system. However, some contributed modules provide additional file systems, or schemes, which may lead to this vulnerability. This vulnerability is mitigated by the fact that it only applies when the site sets (Drupal 9) $config['image.settings']['allow_insecure_derivatives'] or (Drupal 7) $conf['image_allow_insecure_derivatives'] to TRUE. The recommended and default setting is FALSE, and Drupal core does not provide a way to change that in the admin UI. Some sites may require configuration changes following this security release. Review the release notes for your Drupal version if you have issues accessing files or image styles after updating.",
            "references": [
                {
                    "reference_url": "https://github.com/drupal/core/commit/2d5f47fc8a166115f56c2330a81e83abe22445cf",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/drupal/core/commit/2d5f47fc8a166115f56c2330a81e83abe22445cf"
                },
                {
                    "reference_url": "https://github.com/drupal/core/commit/e2fbf63700819cb470a1be425798f1a3f2020116",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/drupal/core/commit/e2fbf63700819cb470a1be425798f1a3f2020116"
                },
                {
                    "reference_url": "https://www.drupal.org/sa-core-2022-012",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/sa-core-2022-012"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25275",
                    "reference_id": "CVE-2022-25275",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25275"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2022-25275.yaml",
                    "reference_id": "CVE-2022-25275.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/drupal/core/CVE-2022-25275.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-xh3v-6f9j-wxw3",
                    "reference_id": "GHSA-xh3v-6f9j-wxw3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-xh3v-6f9j-wxw3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64970?format=api",
                    "purl": "pkg:composer/drupal/drupal@7.91.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@7.91.0"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64971?format=api",
                    "purl": "pkg:composer/drupal/drupal@9.3.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.3.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64972?format=api",
                    "purl": "pkg:composer/drupal/drupal@9.4.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.4.3"
                }
            ],
            "aliases": [
                "CVE-2022-25275",
                "GHSA-xh3v-6f9j-wxw3",
                "GMS-2022-3362"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-a7ss-tkb6-gkge"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45050?format=api",
            "vulnerability_id": "VCID-dyhz-g3nv-yuc3",
            "summary": "Lack of domain validation in Druple core\nThe Media oEmbed iframe route does not properly validate the iframe domain setting, which allows embeds to be displayed in the context of the primary domain. Under certain circumstances, this could lead to cross-site scripting, leaked cookies, or other vulnerabilities.",
            "references": [
                {
                    "reference_url": "https://www.drupal.org/sa-core-2022-015",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://www.drupal.org/sa-core-2022-015"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25276",
                    "reference_id": "CVE-2022-25276",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-25276"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-4wfq-jc9h-vpcx",
                    "reference_id": "GHSA-4wfq-jc9h-vpcx",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-4wfq-jc9h-vpcx"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64971?format=api",
                    "purl": "pkg:composer/drupal/drupal@9.3.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.3.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/64972?format=api",
                    "purl": "pkg:composer/drupal/drupal@9.4.3",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.4.3"
                }
            ],
            "aliases": [
                "CVE-2022-25276",
                "GHSA-4wfq-jc9h-vpcx"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dyhz-g3nv-yuc3"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/drupal/drupal@9.4.3"
}