CVE Vulnerabilities

CVE-2020-1945

Exposure of Resource to Wrong Sphere

Published: May 14, 2020 | Modified: Nov 07, 2023
CVSS 3.x
6.3
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
CVSS 2.x
3.3 LOW
AV:L/AC:M/Au:N/C:P/I:P/A:N
RedHat/V2
RedHat/V3
6.3 MODERATE
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Ubuntu
MEDIUM

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.

Weakness

The product exposes a resource to the wrong control sphere, providing unintended actors with inappropriate access to the resource.

Affected Software

Name Vendor Start Version End Version
Ant Apache 1.1 (including) 1.9.14 (including)
Ant Apache 1.10.0 (including) 1.10.7 (including)
Red Hat AMQ Streams 1.5.0 RedHat ant *
Red Hat OpenShift Container Platform 3.11 RedHat jenkins-0:2.263.3.1612433584-1.el7 *
Red Hat OpenShift Container Platform 4.5 RedHat conmon-2:2.0.21-1.rhaos4.5.el7 *
Red Hat OpenShift Container Platform 4.5 RedHat jenkins-0:2.263.3.1612434332-1.el7 *
Red Hat OpenShift Container Platform 4.5 RedHat machine-config-daemon-0:4.5.0-202102050524.p0.git.2594.ff3b8c0.el8 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift-0:4.5.0-202102050524.p0.git.0.9229406.el7 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift-ansible-0:4.5.0-202102031005.p0.git.0.c6839a2.el7 *
Red Hat OpenShift Container Platform 4.5 RedHat openshift-clients-0:4.5.0-202102051529.p0.git.3612.61b096a.el8 *
Red Hat OpenShift Container Platform 4.5 RedHat runc-0:1.0.0-72.rhaos4.5.giteadfc6b.el8 *
Red Hat OpenShift Container Platform 4.6 RedHat jenkins-0:2.263.3.1612434510-1.el8 *
RHDM 7.9.0 RedHat ant *
RHPAM 7.9.0 RedHat ant *
Ant Ubuntu bionic *
Ant Ubuntu eoan *
Ant Ubuntu esm-apps/bionic *
Ant Ubuntu esm-apps/focal *
Ant Ubuntu esm-apps/xenial *
Ant Ubuntu focal *
Ant Ubuntu trusty *
Ant Ubuntu trusty/esm *
Ant Ubuntu upstream *
Ant Ubuntu xenial *

Extended Description

Resources such as files and directories may be inadvertently exposed through mechanisms such as insecure permissions, or when a program accidentally operates on the wrong object. For example, a program may intend that private files can only be provided to a specific user. This effectively defines a control sphere that is intended to prevent attackers from accessing these private files. If the file permissions are insecure, then parties other than the user will be able to access those files. A separate control sphere might effectively require that the user can only access the private files, but not any other files on the system. If the program does not ensure that the user is only requesting private files, then the user might be able to access other files on the system. In either case, the end result is that a resource has been exposed to the wrong party.

References