SUSE SLES12 Security Update : cloud-init (SUSE-SU-2023:2164-1)

medium Nessus Plugin ID 175592

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-2023:2164-1 advisory.

- When instructing cloud-init to set a random password for a new user account, versions before 21.2 would write that password to the world-readable log file /var/log/cloud-init-output.log. This could allow a local user to log in as another user. (CVE-2021-3429)

- Sensitive data could be exposed in logs of cloud-init before version 23.1.2. An attacker could use this information to find hashed passwords and possibly escalate their privilege. (CVE-2023-1786)

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 cloud-init and / or cloud-init-config-suse packages.

See Also

https://bugzilla.suse.com/1181283

https://bugzilla.suse.com/1183939

https://bugzilla.suse.com/1184085

https://bugzilla.suse.com/1184758

https://bugzilla.suse.com/1210277

https://lists.suse.com/pipermail/sle-updates/2023-May/029326.html

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

https://www.suse.com/security/cve/CVE-2023-1786

Plugin Details

Severity: Medium

ID: 175592

File Name: suse_SU-2023-2164-1.nasl

Version: 1.2

Type: local

Agent: unix

Published: 5/14/2023

Updated: 7/14/2023

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 4.6

Temporal Score: 3.4

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

CVSS Score Source: CVE-2023-1786

CVSS v3

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.8

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

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

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:cloud-init, p-cpe:/a:novell:suse_linux:cloud-init-config-suse, cpe:/o:novell:suse_linux:12

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

Exploit Ease: No known exploits are available

Patch Publication Date: 5/10/2023

Vulnerability Publication Date: 3/18/2021

Reference Information

CVE: CVE-2021-3429, CVE-2023-1786

SuSE: SUSE-SU-2023:2164-1