{"answers":{"affected":"3 open source packages ship an affected version, including github.com/apache/incubator-answer. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-26578 in the wild and no public exploit code.","fix":"Upgrade github.com/apache/incubator-answer to 1.2.5 or later.","what":"CVE-2024-26578 is a medium-severity vulnerability in Apache Answer, published on 22 Feb 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-26578 and fix it if it is affected.\n\nWhat it is: CVE-2024-26578 is a medium-severity vulnerability in Apache Answer, published on 22 Feb 2024. 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-2024-26578 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/apache/incubator-answer (Go): affected all versions; fixed in 1.2.5\n- github.com/apache/incubator-answer (Go): affected all versions; fixed in 1.2.5\n- github.com/apache/incubator-answer (Go): affected all versions; fixed in 1.2.5\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-2024-26578/ (Markdown: https://insights.sbomify.com/CVE-2024-26578/index.md)","id":"CVE-2024-26578","markdown":"https://insights.sbomify.com/CVE-2024-26578/index.md","name":"CVE-2024-26578","record":{"aliases":["GHSA-9q24-hwmc-797x","GO-2024-2580"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Answer","requires_auth":"none","summary":"Attackers can create duplicate user accounts with identical names by rapidly submitting registration requests, compromising data integrity.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"answer","vendor":"apache"}],"cvss":{"score":5.9,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"description":"Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition') vulnerability in Apache Answer.This issue affects Apache Answer: through 1.2.1.\n\nRepeated submission during registration resulted in the registration of the same user. When users register, if they rapidly submit multiple registrations using scripts, it can result in the creation of multiple user accounts simultaneously with the same name.\nUsers are recommended to upgrade to version [1.2.5], which fixes the issue.","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":"Apache Answer: Repeated submission at registration created duplicate users with the same name","id":"CVE-2024-26578","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"race_condition","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Apache Inlong JDBC Vulnerability","id":"CVE-2024-26579"},"packages":[{"ecosystem":"Go","fixed":["1.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/incubator-answer","purl":null,"source":"GHSA-9q24-hwmc-797x"},{"ecosystem":"Go","fixed":["1.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/incubator-answer","purl":"pkg:golang/github.com/apache/incubator-answer","source":"GHSA-9q24-hwmc-797x"},{"ecosystem":"Go","fixed":["1.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/incubator-answer","purl":"pkg:golang/github.com/apache/incubator-answer","source":"GO-2024-2580"}],"prev":{"headline":"Denial of service in n/a","id":"CVE-2024-26577"},"products":["Apache Answer"],"published":"2024-02-22","related":[{"cvss_score":9.1,"headline":"Apache Answer: Residual Administrative API Key Access After Role or Account Revocation","id":"CVE-2026-60053","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":9.1,"headline":"Apache Answer: Pixel Flood Attack by uploading the large pixel file","id":"CVE-2024-22393","kev_date_added":null,"published":"2024-02-22"},{"cvss_score":7.5,"headline":"Apache Answer: Denial of service via crafted Accept-Language header parsing","id":"CVE-2026-48834","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7.5,"headline":"Apache Answer: Unauthenticated OAuth Email-Binding Account Takeover via Existing User Confirmation Flow","id":"CVE-2026-48911","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7.5,"headline":"Apache Answer: Unauthorized disclosure of deleted or pending answer content","id":"CVE-2026-60023","kev_date_added":null,"published":"2026-08-05"},{"cvss_score":7.5,"headline":"Apache Answer: Revision API Improper Access Control leads to Information Disclosure","id":"CVE-2026-24735","kev_date_added":null,"published":"2026-02-04"},{"cvss_score":7.2,"headline":"Apache Answer: AdminToken not invalidated after admin deactivation","id":"CVE-2026-25700","kev_date_added":null,"published":"2026-06-10"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-20","vendors":["Apache Software Foundation"]},"summary":"Attackers can create duplicate user accounts with identical names by rapidly submitting registration requests, compromising data integrity.","url":"https://insights.sbomify.com/CVE-2024-26578/"}