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-24557 (Medium) detected in github.com/Docker/Docker-v20.10.9+incompatible #176

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

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

CVE-2024-24557 - Medium 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 HEAD commit: ec9d972edb7fb1ea028782bd0f770272d89e0c60

Found in base branch: main

Vulnerability Details

Moby is an open-source project created by Docker to enable software containerization. The classic builder cache system is prone to cache poisoning if the image is built FROM scratch. Also, changes to some instructions (most important being HEALTHCHECK and ONBUILD) would not cause a cache miss. An attacker with the knowledge of the Dockerfile someone is using could poison their cache by making them pull a specially crafted image that would be considered as a valid cache candidate for some build steps. 23.0+ users are only affected if they explicitly opted out of Buildkit (DOCKER_BUILDKIT=0 environment variable) or are using the /build API endpoint. All users on versions older than 23.0 could be impacted. Image build API endpoint (/build) and ImageBuild function from github.com/docker/docker/client is also affected as it the uses classic builder by default. Patches are included in 24.0.9 and 25.0.2 releases.

Publish Date: 2024-02-01

URL: CVE-2024-24557

CVSS 3 Score Details (6.9)

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

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Origin: https://www.cve.org/CVERecord?id=CVE-2024-24557

Release Date: 2024-02-01

Fix Resolution: v24.0.9,v25.0.2


Step up your Open Source Security Game with Mend here