{"answers":{"affected":"2 open source packages ship an affected version, including org.apache.james:james-project. It affects 1 product.","exploited":"There is no known exploitation of CVE-2017-12628 in the wild and no public exploit code.","fix":"Upgrade org.apache.james:james-project to 3.0.1 or later.","what":"CVE-2017-12628 is a high-severity unsafe deserialization vulnerability in Apache James, published on 20 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2017-12628 and fix it if it is affected.\n\nWhat it is: CVE-2017-12628 is a high-severity unsafe deserialization vulnerability in Apache James, published on 20 Oct 2017. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2017-12628 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.james:james-project (Maven): affected all versions; fixed in 3.0.1\n- org.apache.james:james-project (Maven): affected all versions; fixed in 3.0.1\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-2017-12628/ (Markdown: https://insights.sbomify.com/CVE-2017-12628/index.md)","id":"CVE-2017-12628","markdown":"https://insights.sbomify.com/CVE-2017-12628/index.md","name":"CVE-2017-12628","record":{"aliases":["GHSA-xj7q-q94c-6wr3"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Apache James mail server","requires_auth":"low_privilege","summary":"A deserialization flaw in Apache James JMX server allows local attackers to execute arbitrary commands and escalate privileges.","user_interaction":"not_required","vuln_class":"deserialization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"james_server","vendor":"apache"}],"cvss":{"score":7.8,"severity":"high","source":"nvd","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-502","name":"Deserialization of Untrusted Data"}],"description":"The JMX server embedded in Apache James, also used by the command line client is exposed to a java de-serialization issue, and thus can be used to execute arbitrary commands. As James exposes JMX socket by default only on local-host, this vulnerability can only be used for privilege escalation. Release 3.0.1 upgrades the incriminated library.","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 Privilege Escalation","id":"CVE-2017-12628","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"deserialization","year":"2017"},"n_packages":2,"n_references":2,"next":{"headline":"Remote code execution occurs in Apache Solr","id":"CVE-2017-12629"},"packages":[{"ecosystem":"Maven","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.james:james-project","purl":null,"source":"GHSA-xj7q-q94c-6wr3"},{"ecosystem":"Maven","fixed":["3.0.1"],"introduced":["0"],"last_affected":[],"package":"org.apache.james:james-project","purl":"pkg:maven/org.apache.james/james-project","source":"GHSA-xj7q-q94c-6wr3"}],"prev":{"headline":"Null dereference in Apache Xerces C++","id":"CVE-2017-12627"},"products":["Apache James"],"published":"2017-10-20","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":6.5,"headline":"Apache James: denial of service through JMAP HTML to text conversion","id":"CVE-2024-45626","kev_date_added":null,"published":"2025-02-06"}],"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-05","vendors":["Apache Software Foundation"]},"summary":"A deserialization flaw in Apache James JMX server allows local attackers to execute arbitrary commands and escalate privileges.","url":"https://insights.sbomify.com/CVE-2017-12628/"}