Hugo: security.http.urls allow-list bypass via HTTP redirects
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| gohugoio | hugo | affected |
|
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Gohugo | Hugo |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-vxgm-5rmg-5w8g | Hugo: security.http.urls allow-list bypass via HTTP redirects |
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 |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Gohugo
Gohugo hugo |
|
| Vendors & Products |
Gohugo
Gohugo hugo |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redirects. An allowed server (or an attacker controlling its DNS or response) could therefore redirect the request to a host that the policy was meant to forbid and Hugo would fetch from the redirected target. The same bypass also lifted any host-shape restriction the operator had put in place. This vulnerability is fixed in 0.162.0. | |
| Title | Hugo: security.http.urls allow-list bypass via HTTP redirects | |
| Weaknesses | CWE-918 | |
| References |
| |
| Metrics |
cvssV4_0
|