{"answers":{"affected":"1 open source package ship an affected version, including redmine. It affects 1 product.","exploited":"There is no known exploitation of CVE-2021-37156 in the wild and no public exploit code.","fix":"Upgrade redmine to a fixed version for your release line: 4.2.1 or 4.2.2.","what":"CVE-2021-37156 is a high-severity vulnerability in Redmine Redmine, published on 5 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2021-37156 and fix it if it is affected.\n\nWhat it is: CVE-2021-37156 is a high-severity vulnerability in Redmine Redmine, published on 5 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2021-37156 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- redmine (Bitnami): affected from 4.2.0; fixed in 4.2.1, 4.2.2\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-37156/ (Markdown: https://insights.sbomify.com/CVE-2021-37156/index.md)","id":"CVE-2021-37156","markdown":"https://insights.sbomify.com/CVE-2021-37156/index.md","name":"CVE-2021-37156","record":{"aliases":["BIT-redmine-2021-37156","GHSA-ghph-4rfg-4x3f","UBUNTU-CVE-2021-37156"],"analysis":{"component_type":"web_application","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Redmine project management","requires_auth":"none","summary":"Enabling two-factor authentication fails to terminate existing user sessions, allowing attackers to bypass the new security control.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"redmine","vendor":"redmine"}],"cvss":{"score":7.5,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-613","name":"DEPRECATED: Insufficient Session Expiration"}],"description":"Redmine 4.2.0 and 4.2.1 allow existing user sessions to continue upon enabling two-factor authentication for the user's account, but the intended behavior is for those sessions to be terminated.","ecosystems":["Bitnami"],"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":"Security feature bypass in n/a","id":"CVE-2021-37156","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"redmine:redmine","products":["redmine:redmine"],"type":"security_feature_bypass","year":"2021"},"n_packages":1,"n_references":2,"next":{"headline":"Hardcoded credentials in n/a","id":"CVE-2021-37157"},"packages":[{"ecosystem":"Bitnami","fixed":["4.2.1","4.2.2"],"introduced":["4.2.0","4.2.1"],"last_affected":[],"package":"redmine","purl":"pkg:bitnami/redmine","source":"BIT-redmine-2021-37156"}],"prev":{"headline":"Security feature bypass in n/a","id":"CVE-2021-37155"},"products":["n/a"],"published":"2021-08-05","related":[{"cvss_score":7.5,"headline":"Missing authorization in n/a","id":"CVE-2022-44030","kev_date_added":null,"published":"2022-12-06"},{"cvss_score":7.5,"headline":"Command injection in n/a","id":"CVE-2011-4929","kev_date_added":null,"published":"2012-10-08"},{"cvss_score":6.8,"headline":"Cross-site request forgery in n/a","id":"CVE-2009-4079","kev_date_added":null,"published":"2009-11-25"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-47258","kev_date_added":null,"published":"2023-11-05"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-47259","kev_date_added":null,"published":"2023-11-05"},{"cvss_score":6.1,"headline":"Cross-site scripting in n/a","id":"CVE-2023-47260","kev_date_added":null,"published":"2023-11-05"}],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"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-04","vendors":["n/a"]},"summary":"Enabling two-factor authentication fails to terminate existing user sessions, allowing attackers to bypass the new security control.","url":"https://insights.sbomify.com/CVE-2021-37156/"}