Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/68193?format=api",
    "purl": "pkg:npm/hono@3.11.7",
    "type": "npm",
    "namespace": "",
    "name": "hono",
    "version": "3.11.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": "4.2.7",
    "latest_non_vulnerable_version": "4.12.7",
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/46663?format=api",
            "vulnerability_id": "VCID-dfv9-q23s-1bf2",
            "summary": "Improper Control of Generation of Code ('Code Injection')\nHono is a web framework written in TypeScript. Prior to version 3.11.7, clients may override named path parameter values from previous requests if the application is using TrieRouter. So, there is a risk that a privileged user may use unintended parameters when deleting REST API resources. TrieRouter is used either explicitly or when the application matches a pattern that is not supported by the default RegExpRouter. Version 3.11.7 includes the change to fix this issue. As a workaround, avoid using TrieRouter directly.",
            "references": [
                {
                    "reference_url": "https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/honojs/hono/commit/8e2b6b08518998783f66d31db4f21b1b1eecc4c8"
                },
                {
                    "reference_url": "https://github.com/honojs/hono/releases/tag/v3.11.7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/honojs/hono/releases/tag/v3.11.7"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50710",
                    "reference_id": "CVE-2023-50710",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-50710"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-f6gv-hh8j-q8vq",
                    "reference_id": "GHSA-f6gv-hh8j-q8vq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-f6gv-hh8j-q8vq"
                },
                {
                    "reference_url": "https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq",
                    "reference_id": "GHSA-f6gv-hh8j-q8vq",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/honojs/hono/security/advisories/GHSA-f6gv-hh8j-q8vq"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/68193?format=api",
                    "purl": "pkg:npm/hono@3.11.7",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hono@3.11.7"
                }
            ],
            "aliases": [
                "CVE-2023-50710",
                "GHSA-f6gv-hh8j-q8vq"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dfv9-q23s-1bf2"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/hono@3.11.7"
}