Zip4j Origin Validation Error
Zip4j through 2.11.2, as used in Threema and other products, does not always check the MAC when decrypting a ZIP archive. This issue has been fixed in version 2.11.3.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | net.lingala.zip4j:zip4j | < 2.11.3 | 2.11.3 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2023-22899
- https://github.com/srikanth-lingala/zip4j/issues/485
- https://breakingthe3ma.app
- https://breakingthe3ma.app/files/Threema-PST22.pdf
- https://github.com/srikanth-lingala/zip4j
- https://github.com/srikanth-lingala/zip4j/releases
- https://github.com/srikanth-lingala/zip4j/releases/tag/v2.11.3
- https://news.ycombinator.com/item?id=34316206
- https://threema.ch/en/blog/posts/news-alleged-weaknesses-statement
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N- Weakness (CWE)
CWE-346- Platform
- Java / Kotlin (Maven)
- Package
net.lingala.zip4j:zip4j- Disclosed
- 10.01.2023
- Updated
- 11.10.2026 11:21
Sources and licenses
OSV / GitHub Advisory Database - GHSA-2pj2-gchf-wmw7 - CC BY 4.0
Vulnerability history: net.lingala.zip4j:zip4j
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 3
- First → latest
- 02.2022 01.2023
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Medium 3
Disclosures per year
- 2022: 2
- 2023: 1
- 2024: 0
- 2025: 0
- 2026: 0
-
Zip4j Origin Validation Error this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.