rlennon / whitesource_bolt_demo

Using OS code from Portainer to represent a relatively large project. Whitesource Bolt is used to scan the repo.
0 stars 0 forks source link

CVE-2024-21626 (High) detected in github.com/Docker/Docker-v20.10.9+incompatible #175

Open mend-bolt-for-github[bot] opened 7 months ago

mend-bolt-for-github[bot] commented 7 months ago

CVE-2024-21626 - High Severity Vulnerability

Vulnerable Library - github.com/Docker/Docker-v20.10.9+incompatible

Moby Project - a collaborative project for the container ecosystem to assemble container-based systems

Library home page: https://proxy.golang.org/github.com/!docker/!docker/@v/v20.10.9+incompatible.zip

Path to dependency file: /portainer-develop/portainer-develop/api/go.mod

Path to vulnerable library: /portainer-develop/portainer-develop/api/go.mod

Dependency Hierarchy: - :x: **github.com/Docker/Docker-v20.10.9+incompatible** (Vulnerable Library)

Found in base branch: main

Vulnerability Details

runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. In runc 1.1.11 and earlier, due to an internal file descriptor leak, an attacker could cause a newly-spawned container process (from runc exec) to have a working directory in the host filesystem namespace, allowing for a container escape by giving access to the host filesystem ("attack 2"). The same attack could be used by a malicious image to allow a container process to gain access to the host filesystem through runc run ("attack 1"). Variants of attacks 1 and 2 could be also be used to overwrite semi-arbitrary host binaries, allowing for complete container escapes ("attack 3a" and "attack 3b"). runc 1.1.12 includes patches for this issue.

Publish Date: 2024-01-31

URL: CVE-2024-21626

CVSS 3 Score Details (8.6)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: None - User Interaction: Required - Scope: Changed - Impact Metrics: - Confidentiality Impact: High - Integrity Impact: High - Availability Impact: High

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-xr7r-f8xq-vfvv

Release Date: 2024-01-31

Fix Resolution: github.com/opencontainers/runc-v1.1.12


Step up your Open Source Security Game with Mend here