Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| labstack | echo | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Labstack | Echo |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-375p-5qhx-8wq4 | Echo's middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.396% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-551 | |
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Labstack
Labstack echo |
|
| Vendors & Products |
Labstack
Labstack echo |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Echo is a Go web framework. Prior to 4.16.0 and 5.4.0, a globally mounted middleware.Static instance can interpret an encoded request path differently from Echo's router because the router matches the still-encoded path while the static handler uses the decoded URL.Path. The advisory demonstrates an encoded slash resolving to a file under the static root through the global static middleware, but the source is internally inconsistent about whether a route or group guard protects the corresponding literal path in that global-mount configuration. This issue is fixed in 4.16.0 and 5.4.0. | |
| Title | Echo: middleware.Static: `%2F`-encoded path bypasses route/group middleware guarding a statically-served path | |
| Weaknesses | CWE-177 CWE-863 |
|
| References |
|
|
| Metrics |
cvssV3_1
|