GLSA-202011-18 : Apache Ant: Insecure temporary file

high Nessus Plugin ID 142932
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

The remote Gentoo host is missing one or more security-related patches.

Description

The remote host is affected by the vulnerability described in GLSA-202011-18 (Apache Ant: Insecure temporary file)

A previous fix for a security vulnerability involving insecure temporary files has been found to be incomplete.
Impact :

A local attacker could perform symlink attacks to overwrite arbitrary files with the privileges of the user running the application.
Workaround :

There is no known workaround at this time.

Solution

All Apache Ant users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-java/ant-1.10.9'

See Also

https://security.gentoo.org/glsa/202007-34

https://security.gentoo.org/glsa/202011-18

Plugin Details

Severity: High

ID: 142932

File Name: gentoo_GLSA-202011-18.nasl

Version: 1.2

Type: local

Published: 11/17/2020

Updated: 11/19/2020

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: E:U/RL:OF/RC:C

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

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

Temporal Vector: E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:ant, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Exploit Ease: No known exploits are available

Patch Publication Date: 11/16/2020

Vulnerability Publication Date: 10/1/2020

Reference Information

CVE: CVE-2020-11979

GLSA: 202011-18