RHEL 9 : buildah (RHSA-2024:9459)

medium Nessus Plugin ID 210786

Synopsis

The remote Red Hat host is missing one or more security updates for buildah.

Description

The remote Redhat Enterprise Linux 9 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2024:9459 advisory.

The buildah package provides a tool for facilitating building OCI container images. Among other things, buildah enables you to: Create a working container, either from scratch or using an image as a starting point; Create an image, either from a working container or using the instructions in a Dockerfile; Build both Docker and OCI images.

Security Fix(es):

* go/parser: golang: Calling any of the Parse functions containing deeply nested literals can cause a panic/stack exhaustion (CVE-2024-34155)

* encoding/gob: golang: Calling Decoder.Decode on a message which contains deeply nested structures can cause a panic due to stack exhaustion (CVE-2024-34156)

* go/build/constraint: golang: Calling Parse on a // +build build tag line with deeply nested expressions can cause a panic due to stack exhaustion (CVE-2024-34158)

* Podman: Buildah: cri-o: FIPS Crypto-Policy Directory Mounting Issue in containers/common Go Library (CVE-2024-9341)

* Buildah: Podman: Improper Input Validation in bind-propagation Option of Dockerfile RUN --mount Instruction (CVE-2024-9407)

* buildah: Buildah allows arbitrary directory mount (CVE-2024-9675)

* Podman: Buildah: CRI-O: symlink traversal vulnerability in the containers/storage library can cause Denial of Service (DoS) (CVE-2024-9676)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Tenable has extracted the preceding description block directly from the Red Hat Enterprise Linux security advisory.

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 RHEL buildah package based on the guidance in RHSA-2024:9459.

See Also

https://access.redhat.com/security/updates/classification/#important

https://bugzilla.redhat.com/show_bug.cgi?id=2310527

https://bugzilla.redhat.com/show_bug.cgi?id=2310528

https://bugzilla.redhat.com/show_bug.cgi?id=2310529

https://bugzilla.redhat.com/show_bug.cgi?id=2315691

https://bugzilla.redhat.com/show_bug.cgi?id=2315887

https://bugzilla.redhat.com/show_bug.cgi?id=2317458

https://bugzilla.redhat.com/show_bug.cgi?id=2317467

https://issues.redhat.com/browse/RHEL-62107

http://www.nessus.org/u?0c9f1026

https://access.redhat.com/errata/RHSA-2024:9459

Plugin Details

Severity: Medium

ID: 210786

File Name: redhat-RHSA-2024-9459.nasl

Version: 1.1

Type: local

Agent: unix

Published: 11/12/2024

Updated: 11/12/2024

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: 5.7

Vendor

Vendor Severity: Important

CVSS v2

Risk Factor: Medium

Base Score: 5.6

Temporal Score: 4.1

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

CVSS Score Source: CVE-2024-9341

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:buildah-tests, p-cpe:/a:redhat:enterprise_linux:buildah, cpe:/o:redhat:enterprise_linux:9

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/12/2024

Vulnerability Publication Date: 9/6/2024

Reference Information

CVE: CVE-2024-34155, CVE-2024-34156, CVE-2024-34158, CVE-2024-9341, CVE-2024-9407, CVE-2024-9675, CVE-2024-9676

CWE: 1325, 20, 22, 59, 674

RHSA: 2024:9459