Vulnérabilité dans at.yawk.lz4:lz4-java (CVE-2026-106451)
Résumé
Vulnérabilité dans at.yawk.lz4:lz4-java (CVE-2026-106451). Risque d'opérations non autorisées ou de divulgation. Exploitable via java.io.tmpdir. Atténuation : mise à jour vers 1.11.4 ou plus.
Description d'origine
La description telle que publiée par la source (souvent en anglais).
Summary
When no system-installed liblz4-java is found, net.jpountz.util.Native.load() extracts the bundled native library to java.io.tmpdir and loads it with System.load. The path of the extracted library can be predicted before it is created, and the library file is opened without exclusive creation. Another local user who can write to the same temporary directory can therefore create the file first and control the code that is loaded.
Details
tempLibLock = File.createTempFile("liblz4-java-", "." + os().libExtension + ".lck");
tempLib = new File(tempLibLock.getAbsolutePath().replaceFirst(".lck$", ""));
// copy to tempLib
try (FileOutputStream out = new FileOutputStream(tempLib)) { ... }
...
System.load(tempLib.getAbsolutePath());
Only the .lck file is created safely, with a random name and exclusive creation. The library path is the .lck name without the .lck suffix, and nothing reserves it. new FileOutputStream(tempLib) opens it with O_CREAT|O_TRUNC and follows symlinks.
In a shared, world-writable temporary directory, another user can watch for the .lck file and create the corresponding library file before it is opened. If they win that race, they own the file. The victim then writes into the attacker-owned file, and the attacker can overwrite it again before System.load.
Whether this can be exploited depends on the host:
- With
fs.protected_regular = 0, the attacker can pre-create a world-writable file, and their code is…
Source: NIST National Vulnerability Database NVD GitHub Advisory
Résumé généré automatiquement
Assemblé par SecPulse à partir des données sources (CVSS, CWE, versions affectées) à l'aide de modèles, sans IA. Vérifiez la description d'origine et les références ci-dessous.
Une vulnérabilité référencée CVE-2026-106451 a été découverte dans at.yawk.lz4:lz4-java.
Des attaquants peuvent cibler un point d'entrée spécifique comme java.io.tmpdir à distance pour détourner le produit.
Risque d'opérations non autorisées ou de divulgation.
Action : mettez à jour at.yawk.lz4:lz4-java vers 1.11.4 ou supérieur.
En cas de doute, contactez votre service informatique ou cherchez « at.yawk.lz4:lz4-java CVE-2026-106451 » sur le site de l'éditeur.
CVE-2026-106451 (at.yawk.lz4:lz4-java) — CWE-367
Surface d'attaque : java.io.tmpdir / System.load / createTempFile / java.library.path
Correctif : 1.11.4 — appliquer immédiatement
Plan : 1) Audit SBOM, 2) Mise à jour staging→prod, 3) Surveillance WAF/proxy sur les endpoints affectés, 4) Recherche d'IOC dans les logs.
Réfs : voir GHSA / avis éditeur / version corrigée liés sur cette page.
Une vulnérabilité (CWE-367) affecte at.yawk.lz4:lz4-java. Les attaquants atteignent le code vulnérable via java.io.tmpdir.
Consultez l'avis de l'éditeur pour les versions affectées de at.yawk.lz4:lz4-java. Surface d'attaque : java.io.tmpdir / System.load / createTempFile / java.library.path.
Gravité : ?. Risque d'opérations non autorisées ou de divulgation.
Mettre à jour vers 1.11.4.
En attendant le correctif : désactivez la fonctionnalité concernée, appliquez des règles WAF, ou restreignez l'accès par ACL réseau.
Recherchez dans les logs des requêtes correspondant aux IOC connus de cette CVE. Auditez les SBOM/dépendances.
Actions de réponse
Étapes concrètes et exemples de commandes que les équipes SOC/SRE doivent exécuter dans l'ordre
-
1Identify exposure identify
Audit SBOM/dependencies for affected components.資産台帳・SBOM・依存マニフェストで at.yawk.lz4:lz4-java を使っているサービスとバージョンを洗い出す。
-
2Apply patch patch
Upgrade at.yawk.lz4:lz4-java to 1.11.4ステージング環境で 1.11.4 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Paquets affectés
Références
- web github.com
- web github.com
- web github.com
- web nvd.nist.gov
- web github.com