Race Condition Affecting datadog-agent package, versions <7.50.3-r1


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment

    Threat Intelligence

    EPSS
    0.07% (31st 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-WOLFILATEST-DATADOGAGENT-6239610
  • published 9 Feb 2024
  • disclosed 31 Jan 2024

How to fix?

Upgrade Wolfi datadog-agent to version 7.50.3-r1 or higher.

NVD Description

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

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. Two malicious build steps running in parallel sharing the same cache mounts with subpaths could cause a race condition that can lead to files from the host system being accessible to the build container. The issue has been fixed in v0.12.5. Workarounds include, avoiding using BuildKit frontend from an untrusted source or building an untrusted Dockerfile containing cache mounts with --mount=type=cache,source=... options.

CVSS Scores

version 3.1
Expand this section

NVD

Recommended
7.4 high
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    High
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

Red Hat

7.5 high
Expand this section

SUSE

7.4 high