CVE-2023-22899
Java vulnerability analysis and mitigation

Overview

Zip4j through version 2.11.2, as used in Threema and other products, contained a vulnerability (CVE-2023-22899) where the library did not always check the Message Authentication Code (MAC) when decrypting a ZIP archive. The vulnerability was discovered in October 2022 and publicly disclosed on January 9, 2023 (ETH Paper, NVD).

Technical details

The vulnerability existed in the ZIP decryption process where the library failed to consistently verify the MAC of encrypted ZIP archives. This could potentially allow an attacker to modify the contents of encrypted ZIP files without detection. The issue was particularly concerning in applications like Threema that used Zip4j for handling encrypted backups (ETH Paper).

Impact

The vulnerability could allow an attacker with access to an encrypted ZIP archive to potentially modify its contents without the tampering being detected by the MAC verification process. In the context of Threema, this could affect the integrity of backup files (ETH Paper).

Mitigation and workarounds

The vulnerability was fixed in Zip4j version 2.11.3, released on January 26, 2023. The fix ensures proper MAC verification during ZIP decryption (GitHub Release). Threema addressed this issue in their application updates (Threema ≥5.0 for Android and Threema ≥4.8.5 for iOS) (Threema Statement).

Community reactions

The vulnerability was part of a broader security analysis of Threema by ETH Zurich researchers. The discovery led to discussions in the security community about the importance of proper cryptographic validation in security-critical applications (Hacker News).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-66516CRITICAL10
  • JavaJava
  • org.apache.tika:tika-parser-pdf-module
NoYesDec 04, 2025
CVE-2025-66566HIGH8.2
  • JavaJava
  • at.yawk.lz4:lz4-java
NoYesDec 05, 2025
CVE-2025-66623HIGH7.4
  • JavaJava
  • io.strimzi:strimzi
NoYesDec 05, 2025
GHSA-93fv-4pm9-xp28MEDIUM6.9
  • JavaJava
  • net.dv8tion:jda
NoYesDec 09, 2025
CVE-2025-11222MEDIUM6.1
  • JavaJava
  • com.linecorp.centraldogma:centraldogma-server-auth-shiro
NoYesDec 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management