{"answers":{"affected":"3 open source packages ship an affected version, including github.com/AndrewBurian/powermux. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-32721 in the wild and no public exploit code.","fix":"Upgrade github.com/AndrewBurian/powermux to 1.1.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-32721 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-32721 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/AndrewBurian/powermux (Go): affected all versions; fixed in 1.1.1\n- github.com/AndrewBurian/powermux (Go): affected all versions; fixed in 1.1.1\n- github.com/AndrewBurian/powermux (Go): affected all versions; fixed in 1.1.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-32721/ (Markdown: https://insights.sbomify.com/CVE-2021-32721/index.md)","id":"CVE-2021-32721","markdown":"https://insights.sbomify.com/CVE-2021-32721/index.md","name":"CVE-2021-32721","record":{"aliases":["GHSA-mj9r-wwm8-7q52","GO-2021-0237"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Go HTTP router library","requires_auth":"none","summary":"Attackers can craft phishing links to redirect users to untrusted sites via the trailing slash redirection feature in the PowerMux Go library.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"powermux","vendor":"powermux_project"}],"cvss":{"score":4.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"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.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"URL Redirection to Untrusted Site ('Open Redirect') in github.com/AndrewBurian/powermux","id":"CVE-2021-32721","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2021"},"n_packages":3,"n_references":1,"next":{"headline":"Uncontrolled Resource Consumption in GlobalNewFiles","id":"CVE-2021-32722"},"packages":[{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/AndrewBurian/powermux","purl":null,"source":"GHSA-mj9r-wwm8-7q52"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/AndrewBurian/powermux","purl":"pkg:golang/github.com/AndrewBurian/powermux","source":"GHSA-mj9r-wwm8-7q52"},{"ecosystem":"Go","fixed":["1.1.1"],"introduced":["0"],"last_affected":[],"package":"github.com/AndrewBurian/powermux","purl":"pkg:golang/github.com/AndrewBurian/powermux","source":"GO-2021-0237"}],"prev":{"headline":"List of order ids, number, items total and token value exposed for unauthorized uses via new API","id":"CVE-2021-32720"},"products":["powermux"],"published":"2021-06-29","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["AndrewBurian"]},"summary":"Attackers can craft phishing links to redirect users to untrusted sites via the trailing slash redirection feature in the PowerMux Go library.","url":"https://insights.sbomify.com/CVE-2021-32721/"}