CVE-2023-2976
Public on
Last Modified:
Description
A flaw was found in Guava. The methodology for temporary directories and files can allow other local users or apps with accordant permissions to access the temp files, possibly leading to information exposure or tampering in the files created in the directory.
Statement
Red Hat Single Sign-On 7 ships the affected component as a layered product of Red Hat JBoss Enterprise Application 7, and as such is affected by this flaw. However, Single Sign-On 7 does not use the affected code and is not vulnerable to exploit.
Mitigation
Temp files should be created with sufficiently non-predictable names and in a secure-permissioned, dedicated temp folder.
Additional Information
- This content is not included.Bugzilla 2215229: guava: insecure temporary directory creation
- Content from cwe.mitre.org is not included.CWE-552: Files or Directories Accessible to External Parties
- FAQ: Frequently asked questions about CVE-2023-2976
- Offline Security Data data is available for integration with other systems. See Offline Security Data API to get started.
External References
Content from www.cve.org is not included.https://www.cve.org/CVERecord?id=CVE-2023-2976
Content from nvd.nist.gov is not included.https://nvd.nist.gov/vuln/detail/CVE-2023-2976
Affected Packages and Issued Red Hat Security Errata
| Products / Services | Components | State | Errata |
|---|---|---|---|
| A-MQ Clients 2 | guava | Not affected | |
| AMQ Broker 7.11.2 | guava | Fixed | RHSA-2023:5491 |
| Cryostat 2 | guava | Not affected | |
| Logging Subsystem for Red Hat OpenShift | openshift-logging/elasticsearch6-rhel8 | Not affected | |
| MTA-6.2-RHEL-8 | mta/mta-rhel8-operator | Fixed | RHSA-2024:1027 |
| MTA-6.2-RHEL-9 | mta/mta-hub-rhel9 | Fixed | RHSA-2024:1027 |
| MTA-6.2-RHEL-9 | mta/mta-operator-bundle | Fixed | RHSA-2024:1027 |
| MTA-6.2-RHEL-9 | mta/mta-pathfinder-rhel9 | Fixed | RHSA-2024:1027 |
| MTA-6.2-RHEL-9 | mta/mta-ui-rhel9 | Fixed | RHSA-2024:1027 |
| MTA-6.2-RHEL-9 | mta/mta-windup-addon-rhel9 | Fixed | RHSA-2024:1027 |
| Migration Toolkit for Runtimes | org.jboss.windup-windup-parent | Affected | |
| OCP-Tools-4.12-RHEL-8 | jenkins | Fixed | RHSA-2024:0778 |
| OCP-Tools-4.12-RHEL-8 | jenkins-2-plugins | Fixed | RHSA-2024:0778 |
| OCP-Tools-4.14-RHEL-8 | jenkins-2-plugins | Fixed | RHSA-2024:0777 |
| RHEL-8 based Middleware Containers | rh-sso-7/sso76-openshift-rhel8 | Fixed | RHSA-2024:0801 |
| Red Hat A-MQ Online | guava | Out of support scope | |
| Red Hat AMQ Streams 2.5.0 | Fixed | RHSA-2023:5165 | |
| Red Hat AMQ Streams 2.6.0 | guava | Fixed | RHSA-2023:7678 |
| Red Hat AMQ Streams 2.7.0 | Fixed | RHSA-2024:3527 | |
| Red Hat Data Grid 8 | guava | Not affected | |
| Red Hat Decision Manager 7 | guava | Out of support scope | |
| Red Hat Enterprise Linux 7 | guava | Out of support scope | |
| Red Hat Enterprise Linux 8 | guava | Will not fix | |
| Red Hat Enterprise Linux 9 | guava | Will not fix | |
| Red Hat Fuse 7 | guava | Will not fix | |
| Red Hat Integration Camel K 1 | guava | Will not fix | |
| Red Hat Integration Camel Quarkus 2 | guava | Will not fix | |
| Red Hat JBoss Data Grid 7 | guava | Out of support scope | |
| Red Hat JBoss Data Virtualization 6 | guava | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 6 | guava | Out of support scope | |
| Red Hat JBoss Enterprise Application Platform 7 | guava | Fixed | RHSA-2023:7641 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 8 | eap7-guava-libraries | Fixed | RHSA-2023:7638 |
| Red Hat JBoss Enterprise Application Platform 7.4 for RHEL 9 | eap7-guava-libraries | Fixed | RHSA-2023:7639 |
| Red Hat JBoss Enterprise Application Platform 7.4 on RHEL 7 | eap7-guava-libraries | Fixed | RHSA-2023:7637 |
| Red Hat JBoss Enterprise Application Platform 8 | guava | Not affected | |
| Red Hat JBoss Enterprise Application Platform Expansion Pack | guava | Not affected | |
| Red Hat JBoss Fuse 6 | guava | Out of support scope | |
| Red Hat JBoss Fuse Service Works 6 | guava | Out of support scope | |
| Red Hat JBoss Web Server 5 | guava | Not affected | |
| Red Hat OpenShift Container Platform 4 | jenkins | Affected | |
| Red Hat OpenShift Container Platform 4 | jenkins-2-plugins | Affected | |
| Red Hat OpenStack Platform 13 (Queens) | guava | Out of support scope | |
| Red Hat Process Automation 7 | guava | Out of support scope | |
| Red Hat Satellite 6 | guava | Not affected | |
| Red Hat Single Sign-On 7 | guava | Fixed | RHSA-2024:0804 |
| Red Hat Single Sign-On 7.6 for RHEL 7 | rh-sso7-keycloak | Fixed | RHSA-2024:0798 |
| Red Hat Single Sign-On 7.6 for RHEL 8 | rh-sso7-keycloak | Fixed | RHSA-2024:0799 |
| Red Hat Single Sign-On 7.6 for RHEL 9 | rh-sso7-keycloak | Fixed | RHSA-2024:0800 |
| Red Hat build of Apache Camel 4.4.0 for Spring Boot | guava | Fixed | RHSA-2024:2707 |
| Red Hat build of Apache Camel for Spring Boot 3 | guava | Affected | |
| Red Hat build of Apicurio Registry 2 | guava | Affected | |
| Red Hat build of Debezium 1 | guava | Out of support scope | |
| Red Hat build of Debezium 2 | guava | Not affected | |
| Red Hat build of OptaPlanner 8 | guava | Will not fix | |
| Red Hat build of Quarkus 2.13.9.Final | com.google.guava/guava | Fixed | RHSA-2023:7700 |
Common Vulnerability Scoring System (CVSS) Score Details
Important note
CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authorities (CNA) source for its products and services (see Red Hat classifications ).
| CVSS v3 Score Breakdown | Red Hat | NVD |
|---|---|---|
| CVSS v3 Base Score | 4.4 | 7.1 |
| Attack Vector | Local | Local |
| Attack Complexity | Low | Low |
| Privileges Required | Low | Low |
| User Interaction | None | None |
| Scope | Unchanged | Unchanged |
| Confidentiality Impact | Low | High |
| Integrity Impact | Low | High |
| Availability Impact | None | None |
CVSS v3 Vector
Red Hat CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
Red Hat CVSS v3 Score Explanation
This flaw potentially allows access to temp files created by the application using the default temporary file directory. This possibly affects confidentiality and integrity of such created files, and not that of the entire application or component. This is best reflected by Confidentiality and Integrity of Low, and Impact of Moderate.
Frequently Asked Questions
Why is Red Hat's CVSS v3 score or Impact different from other vendors?
For more information, see https://access.redhat.com/solutions/762393.
My product is listed as "Under investigation" or "Affected", when will Red Hat release a fix for this vulnerability?
- "Under investigation" doesn't necessarily mean that the product is affected by this vulnerability. It only means that our Analysis Team is still working on determining whether the product is affected and how it is affected.
- "Affected" means that our Analysis Team has determined that this product is affected by this vulnerability and might release a fix to address this in the near future.
What can I do if my product is listed as "Will not fix"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Upgrade to a supported product version that includes a fix for this vulnerability (recommended).
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
What can I do if my product is listed as "Fix deferred"?
Available options depend mostly on the Impact of the vulnerability and the current Life Cycle phase of your product. Overall, you have the following options:
- Apply a mitigation (if one exists).
- Open a This content is not included.support case to request a prioritization of releasing a fix for this vulnerability.
- Red Hat Engineering focuses on addressing high-priority issues based on their complexity or limited lifecycle support. Therefore, lower-priority issues will not receive immediate fixes.
What is a mitigation?
I have a Red Hat product but it is not in the above list, is it affected?
Why is my security scanner reporting my product as vulnerable to this vulnerability even though my product version is fixed or not affected?
My product is listed as "Out of Support Scope". What does this mean?
Not sure what something means? Check out our Security Glossary.