Rapid7 Vulnerability & Exploit Database

Red Hat OpenShift: CVE-2020-1945: ant: insecure temporary file vulnerability

Back to Search

Red Hat OpenShift: CVE-2020-1945: ant: insecure temporary file vulnerability

Severity
3
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:N)
Published
05/14/2020
Created
02/19/2021
Added
02/18/2021
Modified
11/10/2021

Description

Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default temporary directory identified by the Java system property java.io.tmpdir for several tasks and may thus leak sensitive information. The fixcrlf and replaceregexp tasks also copy files from the temporary directory back into the build tree allowing an attacker to inject modified source files into the build process.

Solution(s)

  • linuxrpm-upgrade-conmon
  • linuxrpm-upgrade-jenkins
  • linuxrpm-upgrade-machine-config-daemon
  • linuxrpm-upgrade-openshift
  • linuxrpm-upgrade-openshift-ansible
  • linuxrpm-upgrade-openshift-clients
  • linuxrpm-upgrade-runc

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;