Improper Validation of Integrity Check Value Affecting docker-debugsource package, versions <0:25.0.18-1.amzn2023.0.3


Severity

Recommended
0.0
high
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.17% (6th 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 IDSNYK-AMZN2023-DOCKERDEBUGSOURCE-22392608
  • published10 Nov 2026
  • disclosed5 Oct 2026

Introduced: 5 Oct 2026

CVE-2026-93318  (opens in a new tab)
CWE-354  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 docker-debugsource to version 0:25.0.18-1.amzn2023.0.3 or higher.
This issue was patched in ALAS2023-2026-3391.

NVD Description

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

A malicious image can advertise DiffIDs from another image while containing different layer contents. In affected versions, BuildKit could use the advertised DiffIDs to derive cache and snapshot identity without validating that they matched the actual layer contents.

If a BuildKit daemon with shared or persistent cache first processes such a malicious image, a later build using the victim image may mount the attacker-controlled layer contents as the base image. This can allow code from the malicious image to run in the victim build, for example by replacing a commonly executed path such as /bin/sh. The attacker-controlled code may read build secrets mounted into the build, access other build resources, alter output artifacts, or hang the build.

The issue affects both regular snapshotters and lazy-pulling snapshotters such as stargz.

CVSS Base Scores

version 3.1