CVE-2022-24913: Java Merge-sort Insecure Temporary File vulnerability
5.5
CVSS Score
3.1
Basic Information
CVE ID
GHSA ID
EPSS Score
0.05025%
CWE
Published
1/12/2023
Updated
1/20/2023
KEV Status
No
Technology
Java
Technical Details
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Package Name | Ecosystem | Vulnerable Versions | First Patched Version |
|---|---|---|---|
| com.fasterxml.util:java-merge-sort | maven | < 1.1.0 | 1.1.0 |
Vulnerability Intelligence
Miggo AI
Root Cause Analysis
The vulnerability is explicitly attributed to the StdTempFileProvider() function's use of File.createTempFile() in the advisory. The commit diff confirms the vulnerable code was located in the provide() method of StdTempFileProvider.java, where File.createTempFile() was replaced with the secure Files.createTempFile(). The CWE-377 classification directly maps to the insecure temporary file creation pattern demonstrated here.