Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/61933?format=api",
    "purl": "pkg:npm/strapi@3.6.9",
    "type": "npm",
    "namespace": "",
    "name": "strapi",
    "version": "3.6.9",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "3.0.0-beta.17.8",
    "latest_non_vulnerable_version": "4.10.8",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43244?format=api",
            "vulnerability_id": "VCID-qcu6-ntuc-byea",
            "summary": "Insecure Storage of Sensitive Information\nStoring passwords in a recoverable format in the DOCUMENTATION plugin component of Strapi allows an attacker to access a victim's HTTP request, get the victim's cookie, perform a base64 decode on the victim's cookie, and obtain a cleartext password, leading to getting API documentation for further API attacks.",
            "references": [
                {
                    "reference_url": "http://packetstormsecurity.com/files/166915/Strapi-3.6.8-Password-Disclosure-Insecure-Handling.html",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "http://packetstormsecurity.com/files/166915/Strapi-3.6.8-Password-Disclosure-Insecure-Handling.html"
                },
                {
                    "reference_url": "https://github.com/strapi/strapi/pull/12246",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/strapi/strapi/pull/12246"
                },
                {
                    "reference_url": "https://hub.docker.com/r/strapi/strapi",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://hub.docker.com/r/strapi/strapi"
                },
                {
                    "reference_url": "https://strapi.io/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://strapi.io/"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46440",
                    "reference_id": "CVE-2021-46440",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2021-46440"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-85vg-grr5-pw42",
                    "reference_id": "GHSA-85vg-grr5-pw42",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-85vg-grr5-pw42"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61933?format=api",
                    "purl": "pkg:npm/strapi@3.6.9",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/strapi@3.6.9"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/61355?format=api",
                    "purl": "pkg:npm/strapi@4.1.5",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-jvwy-9dk1-ukd7"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/strapi@4.1.5"
                }
            ],
            "aliases": [
                "CVE-2021-46440",
                "GHSA-85vg-grr5-pw42"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qcu6-ntuc-byea"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/strapi@3.6.9"
}