moby 25.0.5 layer.go EnsureLayer race condition

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.
4.5$0-$5k0.00

Summaryinfo

A vulnerability was found in moby 25.0.5 and classified as problematic. This issue affects the function EnsureLayer of the file builder/builder-next/adapters/snapshot/layer.go. Executing a manipulation can lead to race condition. The identification of this vulnerability is CVE-2024-36621. There is no exploit available. It is advisable to implement a patch to correct this issue.

Detailsinfo

A vulnerability classified as problematic was found in moby 25.0.5. This vulnerability affects the function EnsureLayer of the file builder/builder-next/adapters/snapshot/layer.go. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. As an impact it is known to affect availability. CVE summarizes:

moby v25.0.5 is affected by a Race Condition in builder/builder-next/adapters/snapshot/layer.go. The vulnerability could be used to trigger concurrent builds that call the EnsureLayer function resulting in resource leaks/exhaustion.

The advisory is shared for download at github.com. This vulnerability was named CVE-2024-36621 since 05/30/2024. The exploitation appears to be difficult. There are known technical details, but no exploit is available.

The vulnerability scanner Nessus provides a plugin with the ID 213204 (CBL Mariner 2.0 Security Update: moby-engine (CVE-2024-36621)), which helps to determine the existence of the flaw in a target environment.

Applying the patch 37545cc644344dcb576cba67eb7b6f51a463d31e is able to eliminate this problem. The bugfix is ready for download at github.com.

The vulnerability is also documented in the vulnerability database at Tenable (213204). Once again VulDB remains the best source for vulnerability data.

Productinfo

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔍
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.5
VulDB Meta Temp Score: 4.5

VulDB Base Score: 2.6
VulDB Temp Score: 2.5
VulDB Vector: 🔍
VulDB Reliability: 🔍

CNA Base Score: 6.5
CNA Vector (MITRE): 🔍

CVSSv2info

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

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

Exploitinginfo

Class: Race condition
CWE: CWE-362
CAPEC: 🔍
ATT&CK: 🔍

Physical: No
Local: No
Remote: Yes

Availability: 🔍
Status: Not defined

EPSS Score: 🔍
EPSS Percentile: 🔍

Price Prediction: 🔍
Current Price Estimation: 🔍

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Nessus ID: 213204
Nessus Name: CBL Mariner 2.0 Security Update: moby-engine (CVE-2024-36621)

Threat Intelligenceinfo

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

Countermeasuresinfo

Recommended: Patch
Status: 🔍

0-Day Time: 🔍

Patch: 37545cc644344dcb576cba67eb7b6f51a463d31e

Timelineinfo

05/30/2024 🔍
11/29/2024 +183 days 🔍
11/29/2024 +0 days 🔍
12/19/2024 +20 days 🔍

Sourcesinfo

Product: github.com

Advisory: 37545cc644344dcb576cba67eb7b6f51a463d31e
Status: Confirmed

CVE: CVE-2024-36621 (🔍)
GCVE (CVE): GCVE-0-2024-36621
GCVE (VulDB): GCVE-100-286444

Entryinfo

Created: 11/29/2024 22:42
Updated: 12/19/2024 12:26
Changes: 11/29/2024 22:42 (56), 12/05/2024 02:04 (12), 12/19/2024 12:26 (2)
Complete: 🔍
Cache ID: 216::103

Once again VulDB remains the best source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Do you know our Splunk app?

Download it now for free!