CVE-2022-4493 scifio ZIP File DefaultSampleFilesService.java downloadAndUnpackResource path traversal
A path traversal vulnerability in the scifio library allows remote attackers to read or modify files via the ZIP file handler.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2022-4493?
CVE-2022-4493 is a medium-severity path traversal vulnerability in unspecified scifio, published on 14 Dec 2022. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
A vulnerability classified as critical was found in scifio. Affected by this vulnerability is the function downloadAndUnpackResource of the file src/test/java/io/scif/util/DefaultSampleFilesService.java of the component ZIP File Handler. The manipulation leads to path traversal. The attack can be launched remotely. The name of the patch is fcb0dbca0ec72b22fe0c9ddc8abc9cb188a0ff31. It is recommended to apply a patch to fix this issue. The associated identifier of this vulnerability is VDB-215803.
Weakness: CWE-22
Which versions are affected by CVE-2022-4493?
2 open source packages ship an affected version, including io.scif:scifio. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
io.scif:scifio Maven | All versions | 0.43.3 |
io.scif:scifio Maven | All versions | 0.43.3 |
Products include Scif Scifio.
How do I fix CVE-2022-4493?
Upgrade io.scif:scifio to 0.43.3 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2022-4493 being exploited?
There is no known exploitation of CVE-2022-4493 in the wild and no public exploit code.
Sources
Also known as GHSA-cmwm-45mj-mpg3.