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.
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://security.snyk.io/vuln/SNYK-JAVA-COMFASTERXMLUTIL-3227926
- https://github.com/advisories/GHSA-qxxc-7mq4-mf79