Improper Privilege Management Affecting toolbox-tests package, versions <0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating

    Threat Intelligence

    EPSS
    0.05% (19th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-CENTOS8-TOOLBOXTESTS-6740507
  • published 30 Apr 2024
  • disclosed 18 Mar 2024

How to fix?

Upgrade Centos:8 toolbox-tests to version 0:0.0.99.5-2.module+el8.10.0+21341+ff0b5f89 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream toolbox-tests package and not the toolbox-tests package as distributed by Centos. See How to fix? for Centos:8 relevant fixed versions and status.

A flaw was found in Buildah (and subsequently Podman Build) which allows containers to mount arbitrary locations on the host filesystem into build containers. A malicious Containerfile can use a dummy image with a symbolic link to the root filesystem as a mount source and cause the mount operation to mount the host root filesystem inside the RUN step. The commands inside the RUN step will then have read-write access to the host filesystem, allowing for full container escape at build time.

CVSS Scores

version 3.1
Expand this section

Red Hat

8.6 high
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    Required
  • Scope (S)
    Changed
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    High
Expand this section

SUSE

8.6 high