{"answers":{"affected":"2 open source packages ship an affected version, including com.google.guava:guava. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-2976 in the wild and no public exploit code.","fix":"Upgrade com.google.guava:guava to 32.0.0-android or later.","what":"CVE-2023-2976 is a medium-severity vulnerability in Google Guava, published on 14 Jun 2023. 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-2023-2976 and fix it if it is affected.\n\nWhat it is: CVE-2023-2976 is a medium-severity vulnerability in Google Guava, published on 14 Jun 2023. 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-2023-2976 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.google.guava:guava (Maven): affected from 1.0; fixed in 32.0.0-android\n- com.google.guava:guava (Maven): affected from 1.0; fixed in 32.0.0-android\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-2023-2976/ (Markdown: https://insights.sbomify.com/CVE-2023-2976/index.md)","id":"CVE-2023-2976","markdown":"https://insights.sbomify.com/CVE-2023-2976/index.md","name":"CVE-2023-2976","record":{"aliases":["AZL-27173","AZL-43696","CLEANSTART-2026-BX78459","CLEANSTART-2026-CK79983","CLEANSTART-2026-NL20798","CLEANSTART-2026-SF12674","CLSA-2026-1774398096","CLSA-2026-1774484488","CLSA-2026-1778633133","CLSA-2026-1790132153","CLSA-2026-1792656622","CLSA-2026-1792656687","CLSA-2026-1792656983","DEBIAN-CVE-2023-2976","ECHO-173b-7b42-d706","GHSA-7g45-4rm6-3mm3","MINI-6rv8-g76c-wg92","MINI-6xh8-r393-jqxf","MINI-8q8h-cv22-xc5g","MINI-ch24-3397-56m3","MINI-fxg8-c6pc-5pfv","MINI-qc53-8j79-53r8","MINI-qphm-cjw7-86wh","MINI-qv5m-vvrw-jwf9","MINI-v7mg-4867-pv2x","MINI-w2f5-wj66-q4vj","MINI-x969-pr7h-fcq3","OESA-2023-1411","OESA-2023-1412","ROOT-APP-MAVEN-CVE-2023-2976","UBUNTU-CVE-2023-2976","openSUSE-SU-2024:13001-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Java utility library","requires_auth":"low_privilege","summary":"Local attackers can read sensitive files created by Guava's FileBackedOutputStream due to insecure temporary directory usage.","user_interaction":"not_required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"guava","vendor":"google"}],"cvss":{"score":5.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-552","name":"Files or Directories Accessible to External Parties"}],"description":"Use of Java's default temporary directory for file creation in `FileBackedOutputStream` in Google Guava versions 1.0 to 31.1 on Unix systems and Android Ice Cream Sandwich allows other users and apps on the machine with access to the default Java temporary directory to be able to access the files created by the class.\n\nEven though the security vulnerability is fixed in version 32.0.0, we recommend using version 32.0.1 as version 32.0.0 breaks some functionality under Windows.","ecosystems":["Maven","openSUSE:Tumbleweed"],"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":"Use of temporary directory for file creation in `FileBackedOutputStream` in Guava","id":"CVE-2023-2976","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"information_disclosure","year":"2023"},"n_packages":3,"n_references":3,"next":{"headline":"Memory corruption in OpenSC","id":"CVE-2023-2977"},"packages":[{"ecosystem":"Maven","fixed":["32.0.0-android"],"introduced":["1.0"],"last_affected":[],"package":"com.google.guava:guava","purl":null,"source":"GHSA-7g45-4rm6-3mm3"},{"ecosystem":"Maven","fixed":["32.0.0-android"],"introduced":["1.0"],"last_affected":[],"package":"com.google.guava:guava","purl":"pkg:maven/com.google.guava/guava","source":"GHSA-7g45-4rm6-3mm3"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["32.0.1-1.1"],"introduced":["0"],"last_affected":[],"package":"guava","purl":"pkg:rpm/opensuse/guava\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:13001-1"}],"prev":{"headline":"AES-SIV implementation ignores empty associated data entries","id":"CVE-2023-2975"},"products":["Guava"],"published":"2023-06-14","related":[{"cvss_score":5.9,"headline":"Denial of Service in Google Guava","id":"CVE-2018-10237","kev_date_added":null,"published":"2018-04-26"},{"cvss_score":3.3,"headline":"Temp directory permission issue in Guava","id":"CVE-2020-8908","kev_date_added":null,"published":"2020-12-10"}],"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":"SUSE","prefix":"openSUSE"},{"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":"total"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["Google"]},"summary":"Local attackers can read sensitive files created by Guava's FileBackedOutputStream due to insecure temporary directory usage.","url":"https://insights.sbomify.com/CVE-2023-2976/"}