Exposure of Resource to Wrong Sphere Affecting ant-javamail package, versions <1.10.7-4.3.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.08% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES152-ANTJAVAMAIL-2706887
  • published14 Apr 2022
  • disclosed17 Jul 2020

Introduced: 17 Jul 2020

CVE-2020-1945  (opens in a new tab)
CWE-668  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 ant-javamail to version 1.10.7-4.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ant-javamail package and not the ant-javamail package as distributed by SLES. See How to fix? for SLES:15.2 relevant fixed versions and status.

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.

References

CVSS Base Scores

version 3.1