GitHub Advisory Database
GHSA-qxxc-7mq4-mf79
Java Merge-sort Insecure Temporary File vulnerability
Details
Versions of the package com.fasterxml.util:java-merge-sort before 1.1.0 are vulnerable to Insecure Temporary File in the StdTempFileProvider() function in StdTempFileProvider.java, which uses the permissive File.createTempFile() function, exposing temporary file contents.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Maven | com.fasterxml.util:java-merge-sort | All versions before 1.1.0 (fixed in 1.1.0) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-24913
- https://github.com/cowtowncoder/java-merge-sort/pull/21
- https://github.com/cowtowncoder/java-merge-sort/commit/450fdee70b5f181c2afc5d817f293efa1a543902
- https://github.com/cowtowncoder/java-merge-sort
- https://security.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLUTIL-3227926