Privilege escalation in Buildah



Published: 2024-10-21 | Updated: 2024-10-22
Risk Low
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-9675
CWE-ID CWE-22
Exploitation vector Local
Public exploit N/A
Vulnerable software
Subscribe
buildah
Client/Desktop applications / Software for system administration

Vendor Container Projects

Security Bulletin

This security bulletin contains one low risk vulnerability.

1) Path traversal

EUVDB-ID: #VU98828

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 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Exploit availability: No

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

CPE2.3 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.



###SIDEBAR###