Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/58657?format=api",
    "purl": "pkg:composer/contao/core-bundle@4.11.8",
    "type": "composer",
    "namespace": "contao",
    "name": "core-bundle",
    "version": "4.11.8",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.13.3",
    "latest_non_vulnerable_version": "5.6.5",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41299?format=api",
            "vulnerability_id": "VCID-rj3d-jeyz-vye5",
            "summary": "Improper Privilege Management\nContao is an open source CMS that allows creation of websites and scalable web applications.All users are advised to update to Contao As a workaround users may disable the form generator or disable the login for untrusted back end users.",
            "references": [
                {
                    "reference_url": "https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/security-advisories/privilege-escalation-with-the-form-generator.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37627",
                    "reference_id": "CVE-2021-37627",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37627"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37627.yaml",
                    "reference_id": "CVE-2021-37627.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37627.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37627.yaml",
                    "reference_id": "CVE-2021-37627.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37627.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-hq5m-mqmx-fw6m",
                    "reference_id": "GHSA-hq5m-mqmx-fw6m",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-hq5m-mqmx-fw6m"
                },
                {
                    "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-hq5m-mqmx-fw6m",
                    "reference_id": "GHSA-hq5m-mqmx-fw6m",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao/security/advisories/GHSA-hq5m-mqmx-fw6m"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58656?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.9.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58657?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.11.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.8"
                }
            ],
            "aliases": [
                "CVE-2021-37627",
                "GHSA-hq5m-mqmx-fw6m"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-rj3d-jeyz-vye5"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/41301?format=api",
            "vulnerability_id": "VCID-t2u3-tgg3-cbb9",
            "summary": "Code Injection\nContao is an open source CMS that allows you to create websites and scalable web applications.Update to Contao to resolve. If you cannot update then disable the login for untrusted back end users.",
            "references": [
                {
                    "reference_url": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://contao.org/en/security-advisories/php-file-inclusion-via-insert-tags.html"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37626",
                    "reference_id": "CVE-2021-37626",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-37626"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yaml",
                    "reference_id": "CVE-2021-37626.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/contao/CVE-2021-37626.yaml"
                },
                {
                    "reference_url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yaml",
                    "reference_id": "CVE-2021-37626.YAML",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/FriendsOfPHP/security-advisories/blob/master/contao/core-bundle/CVE-2021-37626.yaml"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-r6mv-ppjc-4hgr",
                    "reference_id": "GHSA-r6mv-ppjc-4hgr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-r6mv-ppjc-4hgr"
                },
                {
                    "reference_url": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr",
                    "reference_id": "GHSA-r6mv-ppjc-4hgr",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/contao/contao/security/advisories/GHSA-r6mv-ppjc-4hgr"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58656?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.9.19",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.9.19"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/58657?format=api",
                    "purl": "pkg:composer/contao/core-bundle@4.11.8",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.8"
                }
            ],
            "aliases": [
                "CVE-2021-37626",
                "GHSA-r6mv-ppjc-4hgr"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-t2u3-tgg3-cbb9"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/contao/core-bundle@4.11.8"
}