Vulnerabilities in pkg:golang/github.com/AndrewBurian/powermux
PACKAGECVE-2021-32721 is a MODERATE (CVSS 4.7) open redirect vulnerability (CWE-601: URL Redirection to Untrusted Site ('Open Redirect')) affecting Github.com/AndrewBurian/powermux libraries in the Go ecosystem. The issue involves open redirect in github.com/andrewburian/powermux. Remediation is available by upgrading affected packages to version 1.1.1.
pkg:golang/github.com/AndrewBurian/powermux
Vulnerability advisories affecting package pkg:golang/github.com/AndrewBurian/powermux. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-mj9r-wwm8-7q52 | CVE-2021-32721 | MODERATE | Open Redirect in github.com/AndrewBurian/powermux |
CVE-2021-32721 at a Glance
Security Impact
CVSS: 4.7
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2021-32721
To remediate this vulnerability, upgrade all affected Github.com/AndrewBurian/powermux dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/AndrewBurian/powermux to 1.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/AndrewBurian/powermux
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-32721, inspect your project dependencies for Github.com/AndrewBurian/powermux:
inspect dependencies for github.com/AndrewBurian/powermux
Analyze the terminal output to locate any version of Github.com/AndrewBurian/powermux in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.1.1), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-601: URL Redirection to Untrusted Site ('Open Redirect'), where the web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect. In Github.com/AndrewBurian/powermux, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-32721 Affected Github.com/AndrewBurian/powermux Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/AndrewBurian/powermux
|
Go |
< 1.1.1
|
1.1.1
|
References
Frequently Asked Questions
What is CVE-2021-32721?
Which Github.com/AndrewBurian/powermux versions are affected?
What version fixes CVE-2021-32721?
Is github.com/AndrewBurian/powermux affected?
What is the CVSS score of CVE-2021-32721?
What CWE is associated with CVE-2021-32721?
How can I check Go dependencies for CVE-2021-32721?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mj9r-wwm8-7q52",
"modified" : "2024-05-20T20:40:13Z",
"published" : "2021-07-01T17:00:32Z",
"aliases" : [ "CVE-2021-32721" ],
"summary" : "Open Redirect in github.com/AndrewBurian/powermux",
"details" : "### Impact\nAttackers 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.\n\n### Patches\nThe issue is resolved in v1.1.1\n\n### Workarounds\nThere are no existing workarounds.\nYou 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/`\n",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/AndrewBurian/powermux"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/AndrewBurian/powermux/security/advisories/GHSA-mj9r-wwm8-7q52"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-32721"
}, {
"type" : "WEB",
"url" : "https://github.com/AndrewBurian/powermux/pull/42"
}, {
"type" : "WEB",
"url" : "https://github.com/AndrewBurian/powermux/commit/5e60a8a0372b35a898796c2697c40e8daabed8e9"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-601" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-06-30T17:43:53Z",
"nvd_published_at" : "2021-06-29T19:15:00Z"
}
}