# CVE-2023-22899: Zip4j Origin Validation Error

Source: https://junglewise.ai/threats/cve-2023-22899-zip4j-origin-validation-error  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-01-10  
License: CC BY 4.0 with a link back

CVE-2023-22899 · Severity: low · CVSS 3.1 · Published 2023-01-10

Zip4j Origin Validation Error

Technologies: [net.lingala.zip4j:zip4j (Maven)](https://junglewise.ai/threats/technologies/net-lingala-zip4j-zip4j). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2023-22899 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2023-22899 being exploited in the wild.

**How severe is CVE-2023-22899?** Low severity, with a CVSS score of 3.1, published 10 January 2023.

**Which products and versions are affected?** net.lingala.zip4j:zip4j (Maven) ECOSYSTEM:introduced=0,fixed=2.11.3.

**Is there a fix for CVE-2023-22899?** Yes. net.lingala.zip4j:zip4j (Maven): upgrade to 2.11.3 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2023-22899?** Check whether you run net.lingala.zip4j:zip4j (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- net.lingala.zip4j:zip4j (Maven): upgrade to 2.11.3 or later

  ```sh
  # set net.lingala.zip4j:zip4j to 2.11.3 in your pom.xml or build.gradle
  ```


## Affected products

- net.lingala.zip4j:zip4j (Maven) ECOSYSTEM:introduced=0,fixed=2.11.3

## Identifiers

- CVE-2023-22899
- GHSA-2pj2-gchf-wmw7

## Related threats

- [Improper Limitation of a Pathname to a Restricted Directory in Zip4j](https://junglewise.ai/threats/cve-2018-1002202-improper-limitation-of-a-pathname-to-a-restricted-directory-in)
- [Uncaught Exception in zip4j](https://junglewise.ai/threats/cve-2022-24615-uncaught-exception-in-zip4j)
