{"answers":{"affected":"2 open source packages ship an affected version, including github.com/authelia/authelia/v4. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-29456 in the wild and no public exploit code.","fix":"Upgrade github.com/authelia/authelia/v4 to 4.28.0 or later.","what":"CVE-2021-29456 is a medium-severity vulnerability in authelia, published on 21 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-29456 and fix it if it is affected.\n\nWhat it is: CVE-2021-29456 is a medium-severity vulnerability in authelia, published on 21 Apr 2021. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-29456 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/authelia/authelia/v4 (Go): affected all versions; fixed in 4.28.0\n- github.com/authelia/authelia/v4 (Go): affected all versions; fixed in 4.28.0\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-29456/ (Markdown: https://insights.sbomify.com/CVE-2021-29456/index.md)","id":"CVE-2021-29456","markdown":"https://insights.sbomify.com/CVE-2021-29456/index.md","name":"CVE-2021-29456","record":{"aliases":["GHSA-36f2-fcrx-fp4j"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Authentication server","requires_auth":"low_privilege","summary":"Attackers can redirect users to malicious sites via the logout endpoint, potentially facilitating phishing attacks against Authelia users.","user_interaction":"required","vuln_class":"open_redirect"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"authelia","vendor":"authelia"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-601","name":"URL Redirection to Untrusted Site"}],"description":"Authelia is an open-source authentication and authorization server providing 2-factor authentication and single sign-on (SSO) for your applications via a web portal. In versions 4.27.4 and earlier, utilizing a HTTP query parameter an attacker is able to redirect users from the web application to any domain, including potentially malicious sites. This security issue does not directly impact the security of the web application itself. As a workaround, one can use a reverse proxy to strip the query parameter from the affected endpoint. There is a patch for version 4.28.0.","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":"Authelia allows open redirects on the logout endpoint","id":"CVE-2021-29456","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"open_redirect","year":"2021"},"n_packages":2,"n_references":1,"next":{"headline":"Heap buffer overflow in Exiv2::Jp2Image::doWriteMetadata","id":"CVE-2021-29457"},"packages":[{"ecosystem":"Go","fixed":["4.28.0"],"introduced":["0"],"last_affected":[],"package":"github.com/authelia/authelia/v4","purl":null,"source":"GHSA-36f2-fcrx-fp4j"},{"ecosystem":"Go","fixed":["4.28.0"],"introduced":["0"],"last_affected":[],"package":"github.com/authelia/authelia/v4","purl":"pkg:golang/github.com/authelia/authelia/v4","source":"GHSA-36f2-fcrx-fp4j"}],"prev":{"headline":"Missing validation of JWT signature in `grassrootza/grassroot-platform`","id":"CVE-2021-29455"},"products":["authelia"],"published":"2021-04-21","related":[{"cvss_score":10,"headline":"Authentication bypassed with malformed request URI","id":"CVE-2021-32637","kev_date_added":null,"published":"2021-05-28"},{"cvss_score":0.5,"headline":"Authelia: Improper Neutralization of Input During Web Page Generation Leads to Potential Cross-site Scripting","id":"CVE-2026-33525","kev_date_added":null,"published":"2026-03-26"}],"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":"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":["authelia"]},"summary":"Attackers can redirect users to malicious sites via the logout endpoint, potentially facilitating phishing attacks against Authelia users.","url":"https://insights.sbomify.com/CVE-2021-29456/"}