CVE-2021-32721 URL Redirection to Untrusted Site ('Open Redirect') in github.com/AndrewBurian/powermux
Attackers can craft phishing links to redirect users to untrusted sites via the trailing slash redirection feature in the PowerMux Go library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2021-32721?
CVE-2021-32721 is a medium-severity vulnerability in AndrewBurian powermux, published on 29 Jun 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-601
Which versions are affected by CVE-2021-32721?
3 open source packages ship an affected version, including github.com/AndrewBurian/powermux. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/AndrewBurian/powermux Go | All versions | 1.1.1 |
github.com/AndrewBurian/powermux Go | All versions | 1.1.1 |
github.com/AndrewBurian/powermux Go | All versions | 1.1.1 |
Products include Powermux Project Powermux.
How do I fix CVE-2021-32721?
Upgrade github.com/AndrewBurian/powermux to 1.1.1 or later.
Is CVE-2021-32721 being exploited?
There is no known exploitation of CVE-2021-32721 in the wild and no public exploit code.
Sources
Also known as GHSA-mj9r-wwm8-7q52, GO-2021-0237.