CVE-2023-33695 Insecure Temporary File in HuTool

High 7.1 Published Updated

An attacker can exploit insecure temporary file creation in Hutool to potentially read sensitive data, requiring library upgrades.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2023-33695?

CVE-2023-33695 is a high-severity vulnerability in n/a, published on 13 Jun 2023. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Hutool v5.8.17 and below was discovered to contain an information disclosure vulnerability via the File.createTempFile() function at /core/io/FileUtil.java.

Weakness: CWE-732

Which versions are affected by CVE-2023-33695?

2 open source packages ship an affected version, including cn.hutool:hutool-core. It affects 1 product.

PackageAffectedFixed in
cn.hutool:hutool-core MavenAll versions5.8.19
cn.hutool:hutool-core MavenAll versions5.8.19

Products include Hutool Hutool.

How do I fix CVE-2023-33695?

Upgrade cn.hutool:hutool-core to 5.8.19 or later.

Is CVE-2023-33695 being exploited?

There is no known exploitation of CVE-2023-33695 in the wild and no public exploit code.

Sources

Also known as GHSA-7mcw-xmx3-7p8m.

Is CVE-2023-33695 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free