{"answers":{"affected":"4 open source packages ship an affected version, including org.apache.james:james-server-jmap-draft. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-45626 in the wild and no public exploit code.","fix":"Upgrade org.apache.james:james-server-jmap-draft to a fixed version for your release line: 3.7.6 or 3.8.2.","what":"CVE-2024-45626 is a medium-severity denial of service vulnerability in Apache James server, published on 6 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-45626 and fix it if it is affected.\n\nWhat it is: CVE-2024-45626 is a medium-severity denial of service vulnerability in Apache James server, published on 6 Feb 2025. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-45626 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.james:james-server-jmap-draft (Maven): affected all versions; fixed in 3.7.6\n- org.apache.james:james-server-jmap-draft (Maven): affected all versions; fixed in 3.7.6\n- org.apache.james:james-server-jmap-draft (Maven): affected from 3.8.0; fixed in 3.8.2\n- org.apache.james:james-server-jmap-draft (Maven): affected from 3.8.0; fixed in 3.8.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-2024-45626/ (Markdown: https://insights.sbomify.com/CVE-2024-45626/index.md)","id":"CVE-2024-45626","markdown":"https://insights.sbomify.com/CVE-2024-45626/index.md","name":"CVE-2024-45626","record":{"aliases":["GHSA-57m2-h3fw-rxhw"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Apache James server","requires_auth":"low_privilege","summary":"An attacker can cause denial of service in Apache James server via unbounded memory consumption during JMAP HTML to text conversion.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"james_server","vendor":"apache"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"Apache James server JMAP HTML to text plain implementation in versions below 3.8.2 and 3.7.6 is subject to unbounded memory consumption that can result in a denial of service.\n\nUsers are recommended to upgrade to version 3.7.6 and 3.8.2, which fix this issue.","ecosystems":["Maven"],"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 James: denial of service through JMAP HTML to text conversion","id":"CVE-2024-45626","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2024"},"n_packages":4,"n_references":1,"next":{"headline":"Apache Linkis Metadata Query Service JDBC: JDBC Datasource Module with Mysql has file read vulnerability","id":"CVE-2024-45627"},"packages":[{"ecosystem":"Maven","fixed":["3.7.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.james:james-server-jmap-draft","purl":null,"source":"GHSA-57m2-h3fw-rxhw"},{"ecosystem":"Maven","fixed":["3.7.6"],"introduced":["0"],"last_affected":[],"package":"org.apache.james:james-server-jmap-draft","purl":"pkg:maven/org.apache.james/james-server-jmap-draft","source":"GHSA-57m2-h3fw-rxhw"},{"ecosystem":"Maven","fixed":["3.8.2"],"introduced":["3.8.0"],"last_affected":[],"package":"org.apache.james:james-server-jmap-draft","purl":null,"source":"GHSA-57m2-h3fw-rxhw"},{"ecosystem":"Maven","fixed":["3.8.2"],"introduced":["3.8.0"],"last_affected":[],"package":"org.apache.james:james-server-jmap-draft","purl":"pkg:maven/org.apache.james/james-server-jmap-draft","source":"GHSA-57m2-h3fw-rxhw"}],"prev":{"headline":"Cross-site scripting in Forminator","id":"CVE-2024-45625"},"products":["Apache James server"],"published":"2025-02-06","related":[{"cvss_score":8.6,"headline":"Apache James: denial of service through the use of IMAP literals","id":"CVE-2024-37358","kev_date_added":null,"published":"2025-02-06"},{"cvss_score":8.1,"headline":"Apache James Server OS Command Injection","id":"CVE-2015-7611","kev_date_added":null,"published":"2016-06-07"},{"cvss_score":7.8,"headline":"Apache James Privilege Escalation","id":"CVE-2017-12628","kev_date_added":null,"published":"2017-10-20"}],"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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-02-12","vendors":["Apache Software Foundation"]},"summary":"An attacker can cause denial of service in Apache James server via unbounded memory consumption during JMAP HTML to text conversion.","url":"https://insights.sbomify.com/CVE-2024-45626/"}