cve.bz

CVE-2025-0495 docker buildx

4.1 mediumEPSS 0.2%Fix available

Medium (4.1) in docker buildx. EPSS 0.2% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/docker/buildx 0.21.3.

On this page
Buildx is a Docker CLI plugin that extends build capabilities using BuildKit. Cache backends support credentials by setting secrets directly as attribute values in cache-to/cache-from configuration. When supplied as user input, these secure values may be inadvertently captured in OpenTelemetry traces as part of the arguments and flags for the traced CLI command. OpenTelemetry traces are also saved in BuildKit daemon's history records. This vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.

Severity

CVSS 4.0

4.1 medium
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:P/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 9th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-03-18. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-532 Insertion of Sensitive Information into Log File
OWASP Top 10
A09:2025 Logging & Alerting Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-0495 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-0495?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-0495?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-0495 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
docker buildxthrough 0.21.2

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-m4gq-fm9h-8q75Gogithub.com/docker/buildx<0.21.30.21.3
GO-2025-3527Gogithub.com/docker/buildx<0.21.30.21.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian13, 14docker-buildx0.13.1+ds1-3DEBIAN-CVE-2025-0495
Ubuntu20.04:LTS, 22.04:LTS, 24.04:LTS and 3 moredocker-buildxno fix listedUBUNTU-CVE-2025-0495
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moredocker28.2.2_ce-150000.227.1SUSE-SU-2025:02289-2
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-LTSS, Linux Enterprise High Performance Computing 15 SP4-ESPOS and 9 moredocker-stable24.0.9_ce-150000.1.22.1SUSE-SU-2025:02289-2
SUSELinux Enterprise Micro 5.1, Linux Enterprise Micro 5.2, Linux Enterprise Micro 5.3 and 5 moredocker28.2.2_ce-150000.227.1SUSE-SU-2025:02289-1
SUSELinux Enterprise Module for Containers 15 SP6, Linux Enterprise Module for Containers 15 SP7docker-stable24.0.9_ce-150000.1.22.1SUSE-SU-2025:02289-1
SUSELinux Enterprise Server 16.0, Linux Enterprise Server for SAP applications 16.0docker-compose2.33.1-160000.5.1SUSE-SU-2026:22567-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5docker27.5.1_ce-98.129.1SUSE-SU-2025:1341-1
SUSELinux Enterprise Server LTSS Extended Security 12 SP5docker-stable24.0.9_ce-1.14.1SUSE-SU-2025:1344-1
SUSELinux Micro 6.0docker27.5.1_ce-2.1SUSE-SU-2025:20205-1
SUSELinux Micro 6.0docker-compose2.33.1-5.1SUSE-SU-2026:22703-1
SUSELinux Micro 6.1docker27.5.1_ce-slfo.1.1_2.1SUSE-SU-2025:20360-1
SUSELinux Micro 6.1docker-compose2.33.1-slfo.1.1_3.1SUSE-SU-2026:22887-1
SUSELinux Micro 6.2docker-compose2.33.1-160000.5.1SUSE-SU-2026:22546-1
openSUSELeap 15.6docker28.2.2_ce-150000.227.1SUSE-SU-2025:02289-1
openSUSELeap 15.6docker-stable24.0.9_ce-150000.1.22.1SUSE-SU-2025:02289-1
openSUSELeap 16.0docker-compose2.33.1-160000.5.1openSUSE-SU-2026:21247-1
openSUSETumbleweeddocker27.5.1_ce-15.1openSUSE-SU-2025:14985-1
openSUSETumbleweeddocker-stable24.0.9_ce-9.1openSUSE-SU-2025:14980-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250318T181448-1.1openSUSE-SU-2025:14910-1
Azure Linux2moby-buildx0.7.1-25AZL-58854
Azure Linux3docker-buildx0.14.0-5AZL-58863
Alpaquitastreamdocker-cli-buildx0.21.3-r0BELL-CVE-2025-0495

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE · Alpaquita.

Attack patterns (CAPEC)

  • CAPEC-215 Fuzzing for application mapping Likelihood: High · Severity: Low

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON