{"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-22393 in the wild and no public exploit code.","fix":"Upgrade github.com/apache/incubator-answer to 1.2.5 or later.","what":"CVE-2024-22393 is a critical 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-22393 and fix it if it is affected.\n\nWhat it is: CVE-2024-22393 is a critical 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-22393 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-22393/ (Markdown: https://insights.sbomify.com/CVE-2024-22393/index.md)","id":"CVE-2024-22393","markdown":"https://insights.sbomify.com/CVE-2024-22393/index.md","name":"CVE-2024-22393","record":{"aliases":["GHSA-rmqp-mvv2-54c6","GO-2024-2579"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache Answer","requires_auth":"none","summary":"A logged-in user can cause a server out-of-memory denial of service by uploading large pixel files in Apache Answer.","user_interaction":"not_required","vuln_class":"file_upload"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"answer","vendor":"apache"}],"cvss":{"score":9.1,"severity":"critical","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type"}],"description":"Unrestricted Upload of File with Dangerous Type vulnerability in Apache Answer.This issue affects Apache Answer: through 1.2.1.\n\nPixel Flood Attack by uploading large pixel files will cause server out of memory. A logged-in user can cause such an attack by uploading an image when posting content.\nUsers are recommended to upgrade to version [1.2.5], which fixes the issue.","ecosystems":["Go"],"exploits":{"exploitdb":0,"first_seen":"2024-03-08","github_poc":3,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-03-09T22:14:54Z","kind":"github_poc","ref":"https://github.com/Rk-000/Pixel-Flood-Attack","stars":1,"title":"PoC for CVE-2024-22393: Pixel Flood DoS in Apache Answer ≤1.2.1. Upload crafted 5KB image with fake 64Kx64K dimensions. Server allocates memory for 4B+ pixels and crashes. Find targets via \"Powered by Apache Answer.\" Check bounty program rules before testing—DoS testing is often prohibited."},{"date":"2026-03-09T23:38:54Z","kind":"github_poc","ref":"https://github.com/Rk-000/Apache-Hunter","stars":1,"title":"ApacheHunter detects CVE-2024-22393 in Apache Answer servers. Like Wappalyzer but CLI-based. Scans headers, page content, meta tags, and paths to identify Apache versions and vulnerable installations (≤1.2.1). No output files—just real-time results."},{"date":"2024-03-08T08:45:12Z","kind":"github_poc","ref":"https://github.com/omranisecurity/CVE-2024-22393","stars":0,"title":"Exploit for CVE-2024-22393 Unrestricted Upload of File with Dangerous Type vulnerability in Apache Answer."}],"tier":"poc_unverified"},"has_fix":true,"headline":"Apache Answer: Pixel Flood Attack by uploading the large pixel file","id":"CVE-2024-22393","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"file_upload","year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Auth bypass in SonicOS","id":"CVE-2024-22394"},"packages":[{"ecosystem":"Go","fixed":["1.2.5"],"introduced":["0"],"last_affected":[],"package":"github.com/apache/incubator-answer","purl":null,"source":"GHSA-rmqp-mvv2-54c6"},{"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-rmqp-mvv2-54c6"},{"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-2579"}],"prev":{"headline":"Memory corruption in Grassroot DICOM","id":"CVE-2024-22391"},"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":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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["Apache Software Foundation"]},"summary":"A logged-in user can cause a server out-of-memory denial of service by uploading large pixel files in Apache Answer.","url":"https://insights.sbomify.com/CVE-2024-22393/"}