SUSE SLES15 Security Update : buildah (SUSE-SU-2022:3480-1)

high Nessus Plugin ID 165613

Language:

Synopsis

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

Description

The remote SUSE Linux SLES15 / SLES_SAP15 host has a package installed that is affected by multiple vulnerabilities as referenced in the SUSE-SU-2022:3480-1 advisory.

- A path traversal flaw was found in Buildah in versions before 1.14.5. This flaw allows an attacker to trick a user into building a malicious container image hosted on an HTTP(s) server and then write files to the user's system anywhere that the user has permissions. (CVE-2020-10696)

- An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1.
When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as ../ separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.
(CVE-2021-20206)

- A flaw was found in buildah where containers were incorrectly started with non-empty default permissions.
A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity. (CVE-2022-27651)

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 buildah package.

See Also

https://bugzilla.suse.com/1167864

https://bugzilla.suse.com/1181961

https://bugzilla.suse.com/1183043

https://bugzilla.suse.com/1192999

https://bugzilla.suse.com/1197870

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

https://www.suse.com/security/cve/CVE-2021-20206

https://www.suse.com/security/cve/CVE-2022-27651

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

Plugin Details

Severity: High

ID: 165613

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

Version: 1.5

Type: local

Agent: unix

Published: 10/1/2022

Updated: 7/14/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: High

Base Score: 9.3

Temporal Score: 7.3

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

CVSS Score Source: CVE-2020-10696

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

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

Vulnerability Information

CPE: cpe:/o:novell:suse_linux:15, p-cpe:/a:novell:suse_linux:buildah

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: 9/30/2022

Vulnerability Publication Date: 3/31/2020

Reference Information

CVE: CVE-2020-10696, CVE-2021-20206, CVE-2022-27651

SuSE: SUSE-SU-2022:3480-1