Amazon Linux 2023 : krb5-devel, krb5-libs, krb5-pkinit (ALAS2023-2023-321)

high Nessus Plugin ID 181152

Synopsis

The remote Amazon Linux 2023 host is missing a security update.

Description

It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS2023-2023-321 advisory.

- lib/kadm5/kadm_rpc_xdr.c in MIT Kerberos 5 (aka krb5) before 1.20.2 and 1.21.x before 1.21.1 frees an uninitialized pointer. A remote authenticated user can trigger a kadmind crash. This occurs because
_xdr_kadm5_principal_ent_rec does not validate the relationship between n_key_data and the key_data array count. (CVE-2023-36054)

- kdc/do_tgs_req.c in MIT Kerberos 5 (aka krb5) 1.21 before 1.21.2 has a double free that is reachable if an authenticated user can trigger an authorization-data handling failure. Incorrect data is copied from one ticket to another. (CVE-2023-39975)

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

Solution

Run 'dnf update krb5 --releasever 2023.1.20230906' to update your system.

See Also

https://alas.aws.amazon.com/AL2023/ALAS-2023-321.html

https://alas.aws.amazon.com/cve/html/CVE-2023-36054.html

https://alas.aws.amazon.com/cve/html/CVE-2023-39975.html

https://alas.aws.amazon.com/faqs.html

Plugin Details

Severity: High

ID: 181152

File Name: al2023_ALAS2023-2023-321.nasl

Version: 1.0

Type: local

Agent: unix

Published: 9/8/2023

Updated: 9/8/2023

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 6.7

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

CVSS Score Source: CVE-2023-39975

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.7

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

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:krb5-server-ldap-debuginfo, p-cpe:/a:amazon:linux:krb5-libs-debuginfo, p-cpe:/a:amazon:linux:krb5-pkinit-debuginfo, p-cpe:/a:amazon:linux:libkadm5-debuginfo, p-cpe:/a:amazon:linux:krb5-pkinit, p-cpe:/a:amazon:linux:krb5-debugsource, p-cpe:/a:amazon:linux:krb5-devel, p-cpe:/a:amazon:linux:krb5-debuginfo, p-cpe:/a:amazon:linux:libkadm5, p-cpe:/a:amazon:linux:krb5-workstation, p-cpe:/a:amazon:linux:krb5-server-debuginfo, cpe:/o:amazon:linux:2023, p-cpe:/a:amazon:linux:krb5-libs, p-cpe:/a:amazon:linux:krb5-server, p-cpe:/a:amazon:linux:krb5-server-ldap, p-cpe:/a:amazon:linux:krb5-workstation-debuginfo

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

Exploit Ease: No known exploits are available

Patch Publication Date: 8/31/2023

Vulnerability Publication Date: 7/11/2023

Reference Information

CVE: CVE-2023-36054, CVE-2023-39975