Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/46663?format=api
{ "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.", "aliases": [ { "alias": "CVE-2023-50710" }, { "alias": "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" } ], "affected_packages": [], "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" } ], "weaknesses": [ { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 94, "name": "Improper Control of Generation of Code ('Code Injection')", "description": "The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-dfv9-q23s-1bf2" }