#VU98828 Path traversal in buildah


Published: 2024-10-21 | Updated: 2024-10-22

Vulnerability identifier: #VU98828

Vulnerability risk: Low

CVSSv3.1: 4.5 [CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-9675

CWE-ID: CWE-22

Exploitation vector: Local

Exploit availability: No

Vulnerable software:
buildah
Client/Desktop applications / Software for system administration

Vendor: Container Projects

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to input validation error when processing directory traversal sequences in cache mounts. A local user can execute a 'RUN' instruction in a Container file to mount an arbitrary directory from the host into the container as long as those files can be accessed by the user running Buildah.

Mitigation
Install update from vendor's website.

Vulnerable software versions

buildah: 1.29.0 - 1.37.4


External links
http://bugzilla.redhat.com/show_bug.cgi?id=2317458
http://github.com/containers/buildah/releases/tag/v1.37.5


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability