Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/62011?format=api",
    "purl": "pkg:composer/craftcms/cms@3.7.37",
    "type": "composer",
    "namespace": "craftcms",
    "name": "cms",
    "version": "3.7.37",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.7.68",
    "latest_non_vulnerable_version": "5.9.9",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43304?format=api",
            "vulnerability_id": "VCID-8pjj-w8h7-p7ga",
            "summary": "Weak Password Recovery Mechanism for Forgotten Password\nCraft CMS through 3.7.36 allows a remote unauthenticated attacker, who knows at least one valid username, to reset the account's password and take over the account by providing a crafted HTTP header to the application while using the password reset functionality. Specifically, the attacker must send X-Forwarded-Host to the /index.php?p=admin/actions/users/send-password-reset-email URI. NOTE: the vendor's position is that a customer can already work around this by adjusting the configuration (i.e., by not using the default configuration).",
            "references": [
                {
                    "reference_url": "http://packetstormsecurity.com/files/166989/Craft-CMS-3.7.36-Password-Reset-Poisoning-Attack.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/166989/Craft-CMS-3.7.36-Password-Reset-Poisoning-Attack.html"
                },
                {
                    "reference_url": "https://github.com/craftcms/cms/blob/develop/CHANGELOG.md",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/craftcms/cms/blob/develop/CHANGELOG.md"
                },
                {
                    "reference_url": "https://sec-consult.com/vulnerability-lab/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://sec-consult.com/vulnerability-lab/"
                },
                {
                    "reference_url": "https://sec-consult.com/vulnerability-lab/advisory/password-reset-poisoning-attack-craft-cms/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://sec-consult.com/vulnerability-lab/advisory/password-reset-poisoning-attack-craft-cms/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29933",
                    "reference_id": "CVE-2022-29933",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-29933"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/62011?format=api",
                    "purl": "pkg:composer/craftcms/cms@3.7.37",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@3.7.37"
                }
            ],
            "aliases": [
                "CVE-2022-29933"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-8pjj-w8h7-p7ga"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/craftcms/cms@3.7.37"
}