cowtowncoder/java-merge-sort · Security
Java Merge-sort Insecure Temporary File vulnerability
- GHSA ID
- GHSA-qxxc-7mq4-mf79
- CVE ID
- CVE-2022-24913
- Severity
- medium
- Published
- Updated
- CVSS
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS v3
- 5.5 · CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Description
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.
CWEs
- CWE-377 · Insecure Temporary File
- CWE-668 · Exposure of Resource to Wrong Sphere
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 ↗