Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/66346?format=api",
    "purl": "pkg:composer/silverstripe/framework@5.0.13",
    "type": "composer",
    "namespace": "silverstripe",
    "name": "framework",
    "version": "5.0.13",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "5.1.11",
    "latest_non_vulnerable_version": "5.1.11",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/45758?format=api",
            "vulnerability_id": "VCID-gnpw-s9hp-wqfs",
            "summary": "Improper Input Validation\nSilverstripe Framework is the MVC framework that powers Silverstripe CMS. When a new member record is created and a password is not set, an empty encrypted password is generated. As a result, if someone is aware of the existence of a member record associated with a specific email address, they can potentially attempt to log in using that empty password. Although the default member authenticator and login form require a non-empty password, alternative authentication methods might still permit a successful login with the empty password. This issue has been patched in versions 4.13.4 and 5.0.13.",
            "references": [
                {
                    "reference_url": "https://github.com/silverstripe/silverstripe-framework/commit/7b21b38ac4532d06565dfcefad50540ebd2b50f4",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/silverstripe/silverstripe-framework/commit/7b21b38ac4532d06565dfcefad50540ebd2b50f4"
                },
                {
                    "reference_url": "https://github.com/silverstripe/silverstripe-framework/releases/tag/4.13.14",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/silverstripe/silverstripe-framework/releases/tag/4.13.14"
                },
                {
                    "reference_url": "https://github.com/silverstripe/silverstripe-framework/releases/tag/5.0.13",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/silverstripe/silverstripe-framework/releases/tag/5.0.13"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32302",
                    "reference_id": "CVE-2023-32302",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-32302"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-36xx-7vf6-7mv3",
                    "reference_id": "GHSA-36xx-7vf6-7mv3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-36xx-7vf6-7mv3"
                },
                {
                    "reference_url": "https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-36xx-7vf6-7mv3",
                    "reference_id": "GHSA-36xx-7vf6-7mv3",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/silverstripe/silverstripe-framework/security/advisories/GHSA-36xx-7vf6-7mv3"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66345?format=api",
                    "purl": "pkg:composer/silverstripe/framework@4.13.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/framework@4.13.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/66346?format=api",
                    "purl": "pkg:composer/silverstripe/framework@5.0.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/framework@5.0.13"
                }
            ],
            "aliases": [
                "CVE-2023-32302",
                "GHSA-36xx-7vf6-7mv3"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-gnpw-s9hp-wqfs"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:composer/silverstripe/framework@5.0.13"
}