{"answers":{"affected":"6 open source packages ship an affected version, including org.apache.tomee:apache-tomee. It affects 1 product.","exploited":"There is no known exploitation of CVE-2020-13931 in the wild and no public exploit code.","fix":"Upgrade org.apache.tomee:apache-tomee to a fixed version for your release line: 7.0.9, 7.1.4 or 8.0.4.","what":"CVE-2020-13931 is a critical vulnerability in Apache TomEE, published on 17 Dec 2020. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-13931 and fix it if it is affected.\n\nWhat it is: CVE-2020-13931 is a critical vulnerability in Apache TomEE, published on 17 Dec 2020. 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-2020-13931 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.apache.tomee:apache-tomee (Maven): affected all versions; fixed in 7.0.9\n- org.apache.tomee:apache-tomee (Maven): affected all versions; fixed in 7.0.9\n- org.apache.tomee:apache-tomee (Maven): affected from 7.1.0; fixed in 7.1.4\n- org.apache.tomee:apache-tomee (Maven): affected from 7.1.0; fixed in 7.1.4\n- org.apache.tomee:apache-tomee (Maven): affected from 8.0.0; fixed in 8.0.4\n- org.apache.tomee:apache-tomee (Maven): affected from 8.0.0; fixed in 8.0.4\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-2020-13931/ (Markdown: https://insights.sbomify.com/CVE-2020-13931/index.md)","id":"CVE-2020-13931","markdown":"https://insights.sbomify.com/CVE-2020-13931/index.md","name":"CVE-2020-13931","record":{"aliases":["GHSA-mp28-rq7g-qx62"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"Java application server","requires_auth":"none","summary":"Misconfigured Apache TomEE with embedded ActiveMQ exposes an unauthenticated JMX port, allowing attackers to bypass security controls.","user_interaction":"not_required","vuln_class":"misconfiguration"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"apache","cpe":[{"product":"tomee","vendor":"apache"}],"cvss":{"score":9.8,"severity":"critical","source":"nvd","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[],"description":"If Apache TomEE 8.0.0-M1 - 8.0.3, 7.1.0 - 7.1.3, 7.0.0-M1 - 7.0.8, 1.0.0 - 1.7.5 is configured to use the embedded ActiveMQ broker, and the broker config is misconfigured, a JMX port is opened on TCP port 1099, which does not include authentication. CVE-2020-11969 previously addressed the creation of the JMX management interface, however the incomplete fix did not cover this edge case.","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":"Remote code execution in Apache TomEE","id":"CVE-2020-13931","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"misconfiguration","year":"2020"},"n_packages":6,"n_references":3,"next":{"headline":"Cross-site Scripting (XSS) in Apache ActiveMQ Artemis","id":"CVE-2020-13932"},"packages":[{"ecosystem":"Maven","fixed":["7.0.9"],"introduced":["0"],"last_affected":[],"package":"org.apache.tomee:apache-tomee","purl":null,"source":"GHSA-mp28-rq7g-qx62"},{"ecosystem":"Maven","fixed":["7.0.9"],"introduced":["0"],"last_affected":[],"package":"org.apache.tomee:apache-tomee","purl":"pkg:maven/org.apache.tomee/apache-tomee","source":"GHSA-mp28-rq7g-qx62"},{"ecosystem":"Maven","fixed":["7.1.4"],"introduced":["7.1.0"],"last_affected":[],"package":"org.apache.tomee:apache-tomee","purl":null,"source":"GHSA-mp28-rq7g-qx62"},{"ecosystem":"Maven","fixed":["7.1.4"],"introduced":["7.1.0"],"last_affected":[],"package":"org.apache.tomee:apache-tomee","purl":"pkg:maven/org.apache.tomee/apache-tomee","source":"GHSA-mp28-rq7g-qx62"},{"ecosystem":"Maven","fixed":["8.0.4"],"introduced":["8.0.0"],"last_affected":[],"package":"org.apache.tomee:apache-tomee","purl":null,"source":"GHSA-mp28-rq7g-qx62"},{"ecosystem":"Maven","fixed":["8.0.4"],"introduced":["8.0.0"],"last_affected":[],"package":"org.apache.tomee:apache-tomee","purl":"pkg:maven/org.apache.tomee/apache-tomee","source":"GHSA-mp28-rq7g-qx62"}],"prev":{"headline":"Notebook permissions bypass","id":"CVE-2020-13929"},"products":["Apache TomEE"],"published":"2020-12-17","related":[{"cvss_score":9.8,"headline":"Missing Authentication for Critical Function in Apache TomEE","id":"CVE-2020-11969","kev_date_added":null,"published":"2020-06-15"},{"cvss_score":9.8,"headline":"XML external entity injection in Terracotta Quartz Scheduler","id":"CVE-2019-13990","kev_date_added":null,"published":"2019-07-26"},{"cvss_score":9.8,"headline":"Deserialization in n/a","id":"CVE-2016-0779","kev_date_added":null,"published":"2017-04-11"},{"cvss_score":7.5,"headline":"Out-of-Memory Error in Bouncy Castle Crypto","id":"CVE-2019-17359","kev_date_added":null,"published":"2019-10-08"},{"cvss_score":6.1,"headline":"Apache TomEE console vulnerable to Cross-site Scripting","id":"CVE-2018-8031","kev_date_added":null,"published":"2018-07-23"}],"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":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["n/a"]},"summary":"Misconfigured Apache TomEE with embedded ActiveMQ exposes an unauthenticated JMX port, allowing attackers to bypass security controls.","url":"https://insights.sbomify.com/CVE-2020-13931/"}