Описание
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.
Отчет
In OpenShift Container Platform (OCP), the Hive/Presto/Hadoop components that comprise the OCP Metering stack, ship the vulnerable version of ant package. Since the release of OCP 4.6, the Metering product has been deprecated [1], hence the affected components are marked as wontfix. This may be fixed in the future. [1] https://docs.openshift.com/container-platform/4.6/release_notes/ocp-4-6-release-notes.html#ocp-4-6-metering-operator-deprecated
Меры по смягчению последствий
For versions 1.1 to 1.9.14 and 1.10.0 to 1.10.7, set the java.io.tmpdir system property to a private directory-- only readable and writable by the current user-- before running Ant. For versions 1.9.15 and 1.10.8, use the Ant property ant.tmpfile instead. Ant 1.10.8 protects the temporary files if the underlying filesystem allows it, but using a private temporary directory is still recommended.
Затронутые пакеты
| Платформа | Пакет | Состояние | Рекомендация | Релиз |
|---|---|---|---|---|
| Red Hat BPM Suite 6 | ant | Out of support scope | ||
| Red Hat CodeReady Studio 12 | ant | Affected | ||
| Red Hat Enterprise Linux 5 | ant | Out of support scope | ||
| Red Hat Enterprise Linux 6 | ant | Out of support scope | ||
| Red Hat Enterprise Linux 7 | ant | Will not fix | ||
| Red Hat Enterprise Linux 8 | ant | Will not fix | ||
| Red Hat Enterprise Linux 8 | ant:1.10/ant | Will not fix | ||
| Red Hat JBoss BRMS 5 | ant | Out of support scope | ||
| Red Hat JBoss Data Virtualization 6 | ant | Out of support scope | ||
| Red Hat JBoss Enterprise Application Platform 5 | ant | Out of support scope |
Показывать по
Дополнительная информация
Статус:
6.3 Medium
CVSS3
Связанные уязвимости
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.
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.
Apache Ant 1.1 to 1.9.14 and 1.10.0 to 1.10.7 uses the default tempora ...
6.3 Medium
CVSS3