CVE-2023-2976
Guava vulnerable to insecure use of temporary directory
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.
Even though the security vulnerability is fixed in version 32.0.0, maintainers recommend using version 32.0.1 as version 32.0.0 breaks some functionality under Windows.
Affected Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| com.google.guava » guava | >= 1.0, < 32.0.0-android | 32.0.0-android |
Blast radius
68% of the dependent artifacts (127,154) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 1,926,962 |
| 2 hops | 3,494,447 |
| 3 hops | 2,011,307 |
| 4 hops | 666,589 |
| 5 hops | 247,028 |
| 6 hops | 113,757 |
Most used dependents
- org.apache.maven.plugins » maven-javadoc-plugin84,916 usages
- org.apache.maven.plugins » maven-surefire-plugin67,265 usages
- org.apache.maven.plugins » maven-jar-plugin59,787 usages
- org.sonatype.plugins » nexus-staging-maven-plugin36,701 usages
- org.apache.felix » maven-bundle-plugin31,882 usages
- org.apache.maven.plugins » maven-release-plugin29,114 usages
- org.apache.maven.plugins » maven-dependency-plugin26,231 usages
- org.apache.maven.plugins » maven-resources-plugin22,649 usages
- org.scalatest » scalatest20,465 usages
- org.apache.maven.plugins » maven-shade-plugin18,801 usages
- org.apache.maven.plugins » maven-enforcer-plugin16,359 usages
- com.mojang » datafixerupper14,418 usages
- com.github.mineLdiver » UnsafeEvents14,293 usages
- org.renjin » renjin-maven-plugin13,886 usages
- org.renjin » grDevices13,856 usages
Computed from the dependency graph of build 20261124.0621 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
- Advisoryhttps://nvd.nist.gov/vuln/detail/CVE-2023-2976
- Webhttps://github.com/google/guava/issues/2575
- Webhttps://github.com/google/guava/issues/6532
- Webhttps://github.com/google/guava/commit/feb83a1c8fd2e7670b244d5afd23cba5aca43284
- Packagehttps://github.com/google/guava
- Webhttps://github.com/google/guava/releases/tag/v32.0.0
- Webhttps://security.netapp.com/advisory/ntap-20230818-0008
- Webhttps://security.netapp.com/advisory/ntap-20241108-0002
- Webhttps://www.intel.com/content/www/us/en/security-center/advisory/intel-sa-01006.html
