- Description
- @hono/node-server allows running the Hono application on Node.js. Prior to 1.19.13, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 1.19.13.
- Source
- security-advisories@github.com
- NVD status
- Analyzed
- Products
- node-server
CVSS 3.1
- Type
- Secondary
- Base score
- 5.3
- Impact score
- 1.4
- Exploitability score
- 3.9
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Severity
- MEDIUM
- security-advisories@github.com
- CWE-22
- Hype score
- Not currently trending
[
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:hono:node-server:*:*:*:*:*:node.js:*:*",
"matchCriteriaId": "4615D37F-3481-4FE8-A893-9B3145848FBE",
"versionEndIncluding": "1.19.12",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
]