{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-3639 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2021-3639 is a medium-severity vulnerability in mod_auth_mellon, published on 22 Aug 2022. 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-3639 and fix it if it is affected.\n\nWhat it is: CVE-2021-3639 is a medium-severity vulnerability in mod_auth_mellon, published on 22 Aug 2022. 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-3639 in the wild and no public exploit code.\n\nAffected product: mod_auth_mellon. No package-level version data is available, so check the vendor advisory linked from the reference page.\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-3639/ (Markdown: https://insights.sbomify.com/CVE-2021-3639/index.md)","id":"CVE-2021-3639","markdown":"https://insights.sbomify.com/CVE-2021-3639/index.md","name":"CVE-2021-3639","record":{"aliases":["ALSA-2022:1934","AZL-10651","AZL-36962","DEBIAN-CVE-2021-3639","GHSA-mhcv-7w89-jjj5","RHSA-2022:1934","RLSA-2022:1934","SUSE-SU-2021:2912-1","SUSE-SU-2022:1524-1","UBUNTU-CVE-2021-3639","USN-5069-1","openSUSE-SU-2024:13848-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache authentication module","requires_auth":"none","summary":"Attackers can exploit unsanitized logout URLs to redirect users to malicious sites, facilitating phishing attacks against users of the mod_auth_mellon module.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"mod_auth_mellon","vendor":"uninett"}],"cvss":{"score":6.1,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/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":"A flaw was found in mod_auth_mellon where it does not sanitize logout URLs properly. This issue could be used by an attacker to facilitate phishing attacks by tricking users into visiting a trusted web application URL that redirects to an external and potentially malicious server. The highest threat from this liability is to confidentiality and integrity.","ecosystems":["AlmaLinux:8","Red Hat:enterprise_linux:8::appstream","Rocky Linux:8","SUSE:Enterprise Storage 7","SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","SUSE:Linux Enterprise Module for Server Applications 15 SP3","SUSE:Linux Enterprise Real Time 15 SP2","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP2-BCL","SUSE:Linux Enterprise Server 15 SP2-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP2","SUSE:Manager Proxy 4.1","SUSE:Manager Retail Branch Server 4.1","SUSE:Manager Server 4.1","openSUSE:Leap 15.3","openSUSE:Leap 15.4","openSUSE:Tumbleweed"],"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":"Open redirect in mod auth mellon","id":"CVE-2021-3639","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"open_redirect","year":"2021"},"n_packages":24,"n_references":3,"next":{"headline":"Use after free in kernel","id":"CVE-2021-3640"},"packages":[{"ecosystem":"AlmaLinux:8","fixed":["0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon","purl":"pkg:rpm/almalinux/mod_auth_mellon","source":"ALSA-2022:1934"},{"ecosystem":"AlmaLinux:8","fixed":["0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon-diagnostics","purl":"pkg:rpm/almalinux/mod_auth_mellon-diagnostics","source":"ALSA-2022:1934"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon","purl":"pkg:rpm/redhat/mod_auth_mellon","source":"RHSA-2022:1934"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon-debuginfo","purl":"pkg:rpm/redhat/mod_auth_mellon-debuginfo","source":"RHSA-2022:1934"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon-debugsource","purl":"pkg:rpm/redhat/mod_auth_mellon-debugsource","source":"RHSA-2022:1934"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon-diagnostics","purl":"pkg:rpm/redhat/mod_auth_mellon-diagnostics","source":"RHSA-2022:1934"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon-diagnostics-debuginfo","purl":"pkg:rpm/redhat/mod_auth_mellon-diagnostics-debuginfo","source":"RHSA-2022:1934"},{"ecosystem":"Rocky Linux:8","fixed":["0:0.14.0-12.el8.1"],"introduced":["0"],"last_affected":[],"package":"mod_auth_mellon","purl":"pkg:rpm/rocky-linux/mod_auth_mellon?distro=rocky-linux-8\u0026epoch=0","source":"RLSA-2022:1934"},{"ecosystem":"SUSE:Enterprise Storage 7","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Enterprise%20Storage%207","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-ESPOS","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOS","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSS","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP3","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP3","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Linux Enterprise Real Time 15 SP2","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20Real%20Time%2015%20SP2","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Linux Enterprise Server 12 SP5","fixed":["0.16.0-8.6.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5","source":"SUSE-SU-2021:2912-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-BCL","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCL","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP2-LTSS","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSS","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 12 SP5","fixed":["0.16.0-8.6.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP5","source":"SUSE-SU-2021:2912-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP2","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Manager Proxy 4.1","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Manager%20Proxy%204.1","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.1","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"SUSE:Manager Server 4.1","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/suse/apache2-mod_auth_mellon\u0026distro=SUSE%20Manager%20Server%204.1","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/opensuse/apache2-mod_auth_mellon\u0026distro=openSUSE%20Leap%2015.3","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["0.17.0-150200.5.7.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/opensuse/apache2-mod_auth_mellon\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2022:1524-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.19.0-1.1"],"introduced":["0"],"last_affected":[],"package":"apache2-mod_auth_mellon","purl":"pkg:rpm/opensuse/apache2-mod_auth_mellon\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13848-1"}],"prev":{"headline":"Memory corruption in QEMU","id":"CVE-2021-3638"},"products":["mod_auth_mellon"],"published":"2022-08-22","related":[{"cvss_score":6.1,"headline":"Auth bypass in n/a","id":"CVE-2017-6807","kev_date_added":null,"published":"2017-03-13"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"BSD","name":"Rocky Linux","prefix":"RLSA"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"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":["n/a"]},"summary":"Attackers can exploit unsanitized logout URLs to redirect users to malicious sites, facilitating phishing attacks against users of the mod_auth_mellon module.","url":"https://insights.sbomify.com/CVE-2021-3639/"}