Moby up to 24.0.8/25.0.1 /build origin validation

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
6.3$0-$5k0.00

Summaryinfo

A vulnerability was found in Moby up to 24.0.8/25.0.1 and classified as problematic. Affected is an unknown function of the file /build. Executing a manipulation can lead to origin validation. This vulnerability is tracked as CVE-2024-24557. The attack is restricted to local execution. No exploit exists. It is suggested to upgrade the affected component.

Detailsinfo

A vulnerability was found in Moby up to 24.0.8/25.0.1. It has been declared as problematic. This vulnerability affects an unknown code of the file /build. The manipulation with an unknown input leads to a origin validation vulnerability. The CWE definition for the vulnerability is CWE-346. The product does not properly verify that the source of data or communication is valid. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:

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.

The weakness was disclosed 02/01/2024 as GHSA-xw73-rw38-6vjc. The advisory is shared for download at github.com. This vulnerability was named CVE-2024-24557 since 01/25/2024. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 242739 (NewStart CGSL MAIN 7.02 : docker-ce Vulnerability (NS-SA-2025-0150)), which helps to determine the existence of the flaw in a target environment.

Upgrading to version 24.0.9 or 25.0.2 eliminates this vulnerability. Applying the patch 3e230cfdcc989dc524882f6579f9e0dac77400ae is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.

The vulnerability is also documented in the vulnerability database at Tenable (242739). VulDB is the best source for vulnerability data and more expert information about this specific topic.

Productinfo

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 6.4
VulDB Meta Temp Score: 6.3

VulDB Base Score: 4.5
VulDB Temp Score: 4.3
VulDB Vector: 🔍
VulDB Reliability: 🔍

NVD Base Score: 7.8
NVD Vector: 🔍

CNA Base Score: 6.9
CNA Vector (GitHub, Inc.): 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍

Exploitinginfo

Class: Origin validation
CWE: CWE-346 / CWE-345
CAPEC: 🔍
ATT&CK: 🔍

Physical: Partially
Local: Yes
Remote: Partially

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 242739
Nessus Name: NewStart CGSL MAIN 7.02 : docker-ce Vulnerability (NS-SA-2025-0150)

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔍

Upgrade: Moby 24.0.9/25.0.2
Patch: 3e230cfdcc989dc524882f6579f9e0dac77400ae

Timelineinfo

01/25/2024 🔍
02/01/2024 +7 days 🔍
02/01/2024 +0 days 🔍
07/26/2025 +541 days 🔍

Sourcesinfo

Product: github.com

Advisory: GHSA-xw73-rw38-6vjc
Status: Confirmed

CVE: CVE-2024-24557 (🔍)
GCVE (CVE): GCVE-0-2024-24557
GCVE (VulDB): GCVE-100-252592

Entryinfo

Created: 02/01/2024 18:33
Updated: 07/26/2025 15:28
Changes: 02/01/2024 18:33 (51), 02/24/2024 09:49 (11), 07/26/2025 15:28 (17)
Complete: 🔍
Cache ID: 216::103

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!