CVE-2021-32721
JSON

4.7medium

URL Redirection to Untrusted Site ('Open Redirect') in github.com/AndrewBurian/powermux

Severity
4.7medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.61% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-mj9r-wwm8-7q52GO-2021-0237

Description

PowerMux is a drop-in replacement for Go's http.ServeMux. In PowerMux versions prior to 1.1.1, attackers may be able to craft phishing links and other open redirects by exploiting the trailing slash redirection feature. This may lead to users being redirected to untrusted sites after following an attacker crafted link. The issue is resolved in v1.1.1. There are no existing workarounds.

Affected

Product or packageVersionsReported by
AndrewBurian powermux< 1.1.1CVE List
github.com/AndrewBurian/powermux (Go)before 1.1.1GitHub Advisory Database, Go Vulnerability Database
powermux_project powermuxbefore 1.1.1NVD

All scores

GitHub_M4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
GitHub4.7medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD5.8medium CVSS:2.0AV:N/AC:M/Au:N/C:P/I:P/A:N

Classification

What each source says

CVE List

PowerMux is a drop-in replacement for Go's http.ServeMux. In PowerMux versions prior to 1.1.1, attackers may be able to craft phishing links and other open redirects by exploiting the trailing slash redirection feature. This may lead to users being redirected to untrusted sites after following an attacker crafted link. The issue is resolved in v1.1.1. There are no existing workarounds.

GitHub Advisory Database
Impact

Attackers may be able to craft phishing links and other open redirects by exploiting the trailing slash redirection feature. This may lead to users being redirected to untrusted sites after following an attacker crafted link.

Patches

The issue is resolved in v1.1.1

Workarounds

There are no existing workarounds. You may detect attempts to craft urls that exploit this feature by looking for request paths containing pairs of forward slashes in sequence combined with a trailing slash e.g. https://example.com//foo/

Go Vulnerability Database

Attackers may be able to craft phishing links and other open redirects by exploiting PowerMux's trailing slash redirection feature. This may lead to users being redirected to untrusted sites after following an attacker crafted link.

NVD (es)

PowerMux es un sustituto de http.ServeMux de Go. En las versiones de PowerMux anteriores a 1.1.1, los atacantes pueden ser capaces de diseñar enlaces de suplantación de identidad y otras redireccionamiento abiertos al explotar la funcionalidad trailing slash redirection. Esto puede conllevar a que los usuarios sean redirigidos a sitios no confiables después de seguir un enlace diseñado por un atacante. El problema se ha resuelto en la versión 1.1.1. No hay soluciones existentes

References

Sources

SourceRecordLicence
CVE ListCVE-2021-32721 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-mj9r-wwm8-7q52 changed 2026-07-08CC-BY-4.0
Go Vulnerability DatabaseGO-2021-0237 changed 2024-05-20CC-BY-4.0
NVDCVE-2021-32721 changed 2026-06-17Public domain