{"answers":{"affected":"4 open source packages ship an affected version, including org.jboss.xnio:xnio-nio. It affects 14 products.","exploited":"There is no known exploitation of CVE-2020-14340 in the wild and no public exploit code.","fix":"Upgrade org.jboss.xnio:xnio-nio to a fixed version for your release line: 3.7.9.Final or 3.8.2.Final.","what":"CVE-2020-14340 is a medium-severity denial of service vulnerability in Oracle Communications Cloud Native Core Policy, published on 2 Jun 2021. 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-14340 and fix it if it is affected.\n\nWhat it is: CVE-2020-14340 is a medium-severity denial of service vulnerability in Oracle Communications Cloud Native Core Policy, published on 2 Jun 2021. 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-14340 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.jboss.xnio:xnio-nio (Maven): affected from 3.6.0; fixed in 3.7.9.Final\n- org.jboss.xnio:xnio-nio (Maven): affected from 3.6.0; fixed in 3.7.9.Final\n- org.jboss.xnio:xnio-nio (Maven): affected from 3.8.0.Final; fixed in 3.8.2.Final\n- org.jboss.xnio:xnio-nio (Maven): affected from 3.8.0.Final; fixed in 3.8.2.Final\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-14340/ (Markdown: https://insights.sbomify.com/CVE-2020-14340/index.md)","id":"CVE-2020-14340","markdown":"https://insights.sbomify.com/CVE-2020-14340/index.md","name":"CVE-2020-14340","record":{"aliases":["DEBIAN-CVE-2020-14340","GHSA-c738-77x8-wmq5","UBUNTU-CVE-2020-14340"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java NIO library","requires_auth":"none","summary":"An attacker can cause a denial of service by triggering a file descriptor leak in the XNIO library, exhausting system resources.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"communications_cloud_native_core_console","vendor":"oracle"},{"product":"communications_cloud_native_core_network_repository_function","vendor":"oracle"},{"product":"communications_cloud_native_core_policy","vendor":"oracle"},{"product":"communications_cloud_native_core_security_edge_protection_proxy","vendor":"oracle"},{"product":"communications_cloud_native_core_service_communication_proxy","vendor":"oracle"},{"product":"communications_cloud_native_core_unified_data_repository","vendor":"oracle"},{"product":"jboss_brms","vendor":"redhat"},{"product":"jboss_data_grid","vendor":"redhat"},{"product":"jboss_data_virtualization","vendor":"redhat"},{"product":"jboss_enterprise_application_platform","vendor":"redhat"},{"product":"jboss_fuse","vendor":"redhat"},{"product":"jboss_operations_network","vendor":"redhat"},{"product":"jboss_soa_platform","vendor":"redhat"},{"product":"xnio","vendor":"redhat"}],"cvss":{"score":5.9,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"description":"A vulnerability was discovered in XNIO where file descriptor leak caused by growing amounts of NIO Selector file handles between garbage collection cycles. It may allow the attacker to cause a denial of service. It affects XNIO versions 3.6.0.Beta1 through 3.8.1.Final.","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":"Uncontrolled Resource Consumption in XNIO","id":"CVE-2020-14340","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"oracle:communications_cloud_native_core_policy","products":["oracle:communications_cloud_native_core_policy","redhat:jboss_enterprise_application_platform"],"type":"denial_of_service","year":"2020"},"n_packages":4,"n_references":3,"next":{"headline":"Server-side request forgery in Red Hat Single Sign-On","id":"CVE-2020-14341"},"packages":[{"ecosystem":"Maven","fixed":["3.7.9.Final"],"introduced":["3.6.0"],"last_affected":[],"package":"org.jboss.xnio:xnio-nio","purl":null,"source":"GHSA-c738-77x8-wmq5"},{"ecosystem":"Maven","fixed":["3.7.9.Final"],"introduced":["3.6.0"],"last_affected":[],"package":"org.jboss.xnio:xnio-nio","purl":"pkg:maven/org.jboss.xnio/xnio-nio","source":"GHSA-c738-77x8-wmq5"},{"ecosystem":"Maven","fixed":["3.8.2.Final"],"introduced":["3.8.0.Final"],"last_affected":[],"package":"org.jboss.xnio:xnio-nio","purl":null,"source":"GHSA-c738-77x8-wmq5"},{"ecosystem":"Maven","fixed":["3.8.2.Final"],"introduced":["3.8.0.Final"],"last_affected":[],"package":"org.jboss.xnio:xnio-nio","purl":"pkg:maven/org.jboss.xnio/xnio-nio","source":"GHSA-c738-77x8-wmq5"}],"prev":{"headline":"Information disclosure in libvirt","id":"CVE-2020-14339"},"products":["XNIO"],"published":"2021-06-02","related":[{"cvss_score":5.9,"headline":"Incorrect Authorization in MySQL Connector Java","id":"CVE-2021-2471","kev_date_added":null,"published":"2021-10-20"},{"cvss_score":4.3,"headline":"Log entry injection in Spring Framework","id":"CVE-2021-22060","kev_date_added":null,"published":"2022-01-07"}],"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-04","vendors":["n/a"]},"summary":"An attacker can cause a denial of service by triggering a file descriptor leak in the XNIO library, exhausting system resources.","url":"https://insights.sbomify.com/CVE-2020-14340/"}