yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| yawkat | lz4-java | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Yawkat | Lz4-java |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-mcr4-qmvw-px4g | yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user |
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.160% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-379 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Yawkat
Yawkat lz4-java |
|
| Vendors & Products |
Yawkat
Yawkat lz4-java |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | yawkat LZ4 Java provides LZ4 compression for Java. From 1.7.0 until 1.11.4, net.jpountz.util.Native.load() uses File.createTempFile to create an exclusive temporary .lck file but derives the native-library path by removing the suffix, then FileOutputStream opens that predictable path without exclusive creation, allowing another local user with access to the same shared temporary directory to create or replace the library file before System.load() uses it. Successful exploitation depends on shared-directory permissions, host protections, and winning the race, and can execute native code as the victim; hardened systems may instead cause library loading to fail and fall back to Java implementations. Configurations using a system library, a private java.io.tmpdir, or Java-only implementations are not affected. This issue is fixed in version 1.11.4. | |
| Title | yawkat LZ4 Java: Native library extraction to a shared temporary directory is vulnerable to file replacement by another local user | |
| Weaknesses | CWE-367 CWE-377 |
|
| References |
| |
| Metrics |
cvssV4_0
|