Directory Traversal Affecting docker-debuginfo package, versions <0:25.0.3-1.amzn2023.0.1


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.06% (30th 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 Learn

Learn about Directory Traversal vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-AMZN2023-DOCKERDEBUGINFO-6393747
  • published6 Mar 2024
  • disclosed31 Jan 2024

Introduced: 31 Jan 2024

CVE-2024-23652  (opens in a new tab)
CWE-22  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 docker-debuginfo to version 0:25.0.3-1.amzn2023.0.1 or higher.
This issue was patched in ALAS2023-2024-542.

NVD Description

Note: Versions mentioned in the description apply only to the upstream docker-debuginfo package and not the docker-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

BuildKit is a toolkit for converting source code to build artifacts in an efficient, expressive and repeatable manner. A malicious BuildKit frontend or Dockerfile using RUN --mount could trick the feature that removes empty files created for the mountpoints into removing a file outside the container, from the host system. The issue has been fixed in v0.12.5. Workarounds include avoiding using BuildKit frontends from an untrusted source or building an untrusted Dockerfile containing RUN --mount feature.

CVSS Scores

version 3.1