Lucene search

K
ubuntucveUbuntu.comUB:CVE-2020-1945
HistoryMay 14, 2020 - 12:00 a.m.

CVE-2020-1945

2020-05-1400:00:00
ubuntu.com
ubuntu.com
27
apache ant
temporary directory
sensitive information
file injection
cve-2020-1945
cve-2020-11979

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS

0.002

Percentile

58.7%

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.

Notes

Author Note
msalvatore There are two potential mitigations for this vulnerability. 1) Set your umask to 077. 2) Set your JVM’s java.io.tmpdir system property to a directory only readable and writable by the current user running Ant. The fix for this CVE is incomplete. CVE-2020-11979 finishes resolving the issue.
OSVersionArchitecturePackageVersionFilename
ubuntu18.04noarchant< 1.10.5-3~18.04.1~esm1UNKNOWN
ubuntu19.10noarchant< 1.10.6-1ubuntu0.1UNKNOWN
ubuntu20.04noarchant< 1.10.7-1ubuntu0.1~esm1UNKNOWN
ubuntu14.04noarchant< 1.9.3-2ubuntu0.1+esm1UNKNOWN
ubuntu16.04noarchant< 1.9.6-1ubuntu1.1+esm1UNKNOWN

CVSS2

5

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

NONE

Confidentiality Impact

NONE

Integrity Impact

PARTIAL

Availability Impact

NONE

AV:N/AC:L/Au:N/C:N/I:P/A:N

CVSS3

7.5

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

NONE

Integrity Impact

HIGH

Availability Impact

NONE

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

EPSS

0.002

Percentile

58.7%