SUSE SLES12 Security Update : ant (SUSE-SU-2022:4022-1)

high Nessus Plugin ID 167779

Language:

Synopsis

The remote SUSE host is missing one or more security updates.

Description

The remote SUSE Linux SLES12 / SLES_SAP12 host has packages installed that are affected by multiple vulnerabilities as referenced in the SUSE-SU-2022:4022-1 advisory.

- As mitigation for CVE-2020-1945 Apache Ant 1.10.8 changed the permissions of temporary files it created so that only the current user was allowed to access them. Unfortunately the fixcrlf task deleted the temporary file and created a new one without said protection, effectively nullifying the effort. This would still allow an attacker to inject modified source files into the build process. (CVE-2020-11979)

- 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. (CVE-2020-1945)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Update the affected packages.

See Also

https://bugzilla.suse.com/1171696

https://bugzilla.suse.com/1177180

https://www.suse.com/security/cve/CVE-2020-11979

https://www.suse.com/security/cve/CVE-2020-1945

http://www.nessus.org/u?aa67f171

Plugin Details

Severity: High

ID: 167779

File Name: suse_SU-2022-4022-1.nasl

Version: 1.6

Type: local

Agent: unix

Published: 11/17/2022

Updated: 7/13/2023

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Frictionless Assessment AWS, Frictionless Assessment Azure, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 6.0

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2020-11979

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 7

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

Temporal Vector: CVSS:3.0/E:F/RL:O/RC:C

Vulnerability Information

CPE: cpe:/o:novell:suse_linux:12, p-cpe:/a:novell:suse_linux:ant-jdepend, p-cpe:/a:novell:suse_linux:ant-apache-oro, p-cpe:/a:novell:suse_linux:ant, p-cpe:/a:novell:suse_linux:ant-apache-regexp, p-cpe:/a:novell:suse_linux:ant-javadoc, p-cpe:/a:novell:suse_linux:ant-apache-bsf, p-cpe:/a:novell:suse_linux:ant-javamail, p-cpe:/a:novell:suse_linux:ant-jmf, p-cpe:/a:novell:suse_linux:ant-manual, p-cpe:/a:novell:suse_linux:ant-scripts, p-cpe:/a:novell:suse_linux:ant-apache-log4j, p-cpe:/a:novell:suse_linux:ant-swing, p-cpe:/a:novell:suse_linux:ant-junit, p-cpe:/a:novell:suse_linux:ant-antlr, p-cpe:/a:novell:suse_linux:ant-apache-resolver, p-cpe:/a:novell:suse_linux:ant-apache-bcel, p-cpe:/a:novell:suse_linux:ant-commons-logging

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/SuSE/release, Host/SuSE/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 11/16/2022

Vulnerability Publication Date: 5/14/2020

Reference Information

CVE: CVE-2020-11979, CVE-2020-1945

IAVA: 2020-A-0324

SuSE: SUSE-SU-2022:4022-1