{"answers":{"affected":"6 open source packages ship an affected version, including io.netty:netty, io.netty:netty-codec-http and org.jboss.netty:netty. It affects 13 products.","exploited":"There is no known exploitation of CVE-2021-21290 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2021-21290 is a medium-severity vulnerability in Debian Debian Linux, published on 8 Feb 2021. 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-2021-21290 and fix it if it is affected.\n\nWhat it is: CVE-2021-21290 is a medium-severity vulnerability in Debian Debian Linux, published on 8 Feb 2021. 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-2021-21290 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- io.netty:netty (Maven): affected all versions; no fix listed\n- io.netty:netty (Maven): affected all versions; no fix listed\n- io.netty:netty-codec-http (Maven): affected from 4.0.0; fixed in 4.1.59.Final\n- io.netty:netty-codec-http (Maven): affected from 4.0.0; fixed in 4.1.59.Final\n- org.jboss.netty:netty (Maven): affected all versions; no fix listed\n- org.jboss.netty:netty (Maven): affected all versions; no fix listed\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-2021-21290/ (Markdown: https://insights.sbomify.com/CVE-2021-21290/index.md)","id":"CVE-2021-21290","markdown":"https://insights.sbomify.com/CVE-2021-21290/index.md","name":"CVE-2021-21290","record":{"aliases":["CLEANSTART-2026-LZ91805","DEBIAN-CVE-2021-21290","DLA-2555-1","GHSA-5mcr-gq6c-3hq2","MGASA-2021-0136","OESA-2021-1143","RHSA-2022:0190","UBUNTU-CVE-2021-21290"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Java network framework","requires_auth":"none","summary":"Local attackers can read sensitive temporary files created by Netty's multipart decoders on Unix-like systems if disk storage is enabled.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"active_iq_unified_manager","vendor":"netapp"},{"product":"cloud_secure_agent","vendor":"netapp"},{"product":"snapcenter","vendor":"netapp"},{"product":"netty","vendor":"netty"},{"product":"banking_corporate_lending_process_management","vendor":"oracle"},{"product":"banking_credit_facilities_process_management","vendor":"oracle"},{"product":"banking_trade_finance_process_management","vendor":"oracle"},{"product":"communications_brm_-_elastic_charging_engine","vendor":"oracle"},{"product":"communications_design_studio","vendor":"oracle"},{"product":"communications_messaging_server","vendor":"oracle"},{"product":"nosql_database","vendor":"oracle"},{"product":"quarkus","vendor":"quarkus"}],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"},{"id":"CWE-379","name":"Creation of Temporary File in Directory with Insecure Permissions"},{"id":"CWE-378","name":"Creation of Temporary File With Insecure Permissions"}],"description":"Netty is an open-source, asynchronous event-driven network application framework for rapid development of maintainable high performance protocol servers \u0026 clients. In Netty before version 4.1.59.Final there is a vulnerability on Unix-like systems involving an insecure temp file. When netty's multipart decoders are used local information disclosure can occur via the local system temporary directory if temporary storing uploads on the disk is enabled. On unix-like systems, the temporary directory is shared between all user. As such, writing to this directory using APIs that do not explicitly set the file/directory permissions can lead to information disclosure. Of note, this does not impact modern MacOS Operating Systems. The method \"File.createTempFile\" on unix-like systems creates a random file, but, by default will create this file with the permissions \"-rw-r--r--\". Thus, if sensitive information is written to this file, other local users can read this information. This is the case in netty's \"AbstractDiskHttpData\" is vulnerable. This has been fixed in version 4.1.59.Final. As a workaround, one may specify your own \"java.io.tmpdir\" when you start the JVM or use \"DefaultHttpDataFactory.setBaseDir(...)\" to set the directory to something that is only readable by the current user.","ecosystems":["Maven","Red Hat:satellite:6.10::el7","Red Hat:satellite_capsule:6.10::el7"],"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":"Local Information Disclosure Vulnerability in Netty on Unix-Like systems due temporary files","id":"CVE-2021-21290","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":"debian:debian_linux","products":["debian:debian_linux","netapp:active_iq_unified_manager","netapp:cloud_secure_agent","netapp:snapcenter","netty:netty"],"type":"information_disclosure","year":"2021"},"n_packages":12,"n_references":39,"next":{"headline":"Subdomain checking of whitelisted domains could allow unintended redirects","id":"CVE-2021-21291"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"io.netty:netty","purl":null,"source":"GHSA-5mcr-gq6c-3hq2"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"io.netty:netty","purl":"pkg:maven/io.netty/netty","source":"GHSA-5mcr-gq6c-3hq2"},{"ecosystem":"Maven","fixed":["4.1.59.Final"],"introduced":["4.0.0"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":null,"source":"GHSA-5mcr-gq6c-3hq2"},{"ecosystem":"Maven","fixed":["4.1.59.Final"],"introduced":["4.0.0"],"last_affected":[],"package":"io.netty:netty-codec-http","purl":"pkg:maven/io.netty/netty-codec-http","source":"GHSA-5mcr-gq6c-3hq2"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.jboss.netty:netty","purl":null,"source":"GHSA-5mcr-gq6c-3hq2"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":[],"package":"org.jboss.netty:netty","purl":"pkg:maven/org.jboss.netty/netty","source":"GHSA-5mcr-gq6c-3hq2"},{"ecosystem":"Red Hat:satellite:6.10::el7","fixed":["0:6.10.2-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"satellite","purl":"pkg:rpm/redhat/satellite","source":"RHSA-2022:0190"},{"ecosystem":"Red Hat:satellite:6.10::el7","fixed":["0:6.10.2-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"satellite-cli","purl":"pkg:rpm/redhat/satellite-cli","source":"RHSA-2022:0190"},{"ecosystem":"Red Hat:satellite:6.10::el7","fixed":["0:6.10.2-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"satellite-common","purl":"pkg:rpm/redhat/satellite-common","source":"RHSA-2022:0190"},{"ecosystem":"Red Hat:satellite_capsule:6.10::el7","fixed":["0:6.10.2-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"satellite","purl":"pkg:rpm/redhat/satellite","source":"RHSA-2022:0190"},{"ecosystem":"Red Hat:satellite_capsule:6.10::el7","fixed":["0:6.10.2-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"satellite-capsule","purl":"pkg:rpm/redhat/satellite-capsule","source":"RHSA-2022:0190"},{"ecosystem":"Red Hat:satellite_capsule:6.10::el7","fixed":["0:6.10.2-1.el7sat"],"introduced":["0"],"last_affected":[],"package":"satellite-common","purl":"pkg:rpm/redhat/satellite-common","source":"RHSA-2022:0190"}],"prev":{"headline":"Command Injection Vulnerability in Mechanize","id":"CVE-2021-21289"},"products":["netty"],"published":"2021-02-08","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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":"Red Hat","prefix":"RHSA"},{"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":"2026-10-08","vendors":["netty"]},"summary":"Local attackers can read sensitive temporary files created by Netty's multipart decoders on Unix-like systems if disk storage is enabled.","url":"https://insights.sbomify.com/CVE-2021-21290/"}