Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/32180?format=api",
    "purl": "pkg:npm/%40strapi/plugin-upload@4.22.0",
    "type": "npm",
    "namespace": "@strapi",
    "name": "plugin-upload",
    "version": "4.22.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/43258?format=api",
            "vulnerability_id": "VCID-vxuc-8gr8-aqby",
            "summary": "Strapi is an open-source content management system. Prior to version 4.22.0, a denial-of-service vulnerability is present in the media upload process causing the server to crash without restarting, affecting either development and production environments. Usually, errors in the application cause it to log the error and keep it running for other clients. This behavior, in contrast, stops the server execution, making it unavailable for any clients until it's manually restarted. Any user with access to the file upload functionality is able to exploit this vulnerability, affecting applications running in both development mode and production mode as well. Users should upgrade @strapi/plugin-upload to version 4.22.0 to receive a patch.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-31217",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.01796",
                            "scoring_system": "epss",
                            "scoring_elements": "0.8324",
                            "published_at": "2026-06-12T12:55:00Z"
                        },
                        {
                            "value": "0.01796",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83248",
                            "published_at": "2026-06-13T12:55:00Z"
                        },
                        {
                            "value": "0.01796",
                            "scoring_system": "epss",
                            "scoring_elements": "0.83179",
                            "published_at": "2026-06-11T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-31217"
                },
                {
                    "reference_url": "https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7",
                    "reference_id": "a0da7e73e1496d835fe71a2febb14f70170135c7",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-12T15:53:55Z/"
                        }
                    ],
                    "url": "https://github.com/strapi/strapi/commit/a0da7e73e1496d835fe71a2febb14f70170135c7"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31217",
                    "reference_id": "CVE-2024-31217",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-31217"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-pm9q-xj9p-96pm",
                    "reference_id": "GHSA-pm9q-xj9p-96pm",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-pm9q-xj9p-96pm"
                },
                {
                    "reference_url": "https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm",
                    "reference_id": "GHSA-pm9q-xj9p-96pm",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H"
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "MODERATE",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-06-12T15:53:55Z/"
                        }
                    ],
                    "url": "https://github.com/strapi/strapi/security/advisories/GHSA-pm9q-xj9p-96pm"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/32180?format=api",
                    "purl": "pkg:npm/%40strapi/plugin-upload@4.22.0",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540strapi/plugin-upload@4.22.0"
                }
            ],
            "aliases": [
                "CVE-2024-31217",
                "GHSA-pm9q-xj9p-96pm"
            ],
            "risk_score": 3.1,
            "exploitability": "0.5",
            "weighted_severity": "6.2",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-vxuc-8gr8-aqby"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540strapi/plugin-upload@4.22.0"
}