{"answers":{"affected":"3 open source packages ship an affected version, including github.com/docker/buildx.","exploited":"There is no known exploitation of CVE-2025-0495 in the wild and no public exploit code.","fix":"Upgrade github.com/docker/buildx to 0.21.3 or later.","what":"CVE-2025-0495 is a medium-severity vulnerability in docker buildx, published on 17 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-0495 and fix it if it is affected.\n\nWhat it is: CVE-2025-0495 is a medium-severity vulnerability in docker buildx, published on 17 Mar 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-0495 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/docker/buildx (Go): affected all versions; fixed in 0.21.3\n- github.com/docker/buildx (Go): affected all versions; fixed in 0.21.3\n- github.com/docker/buildx (Go): affected all versions; fixed in 0.21.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-0495/ (Markdown: https://insights.sbomify.com/CVE-2025-0495/index.md)","id":"CVE-2025-0495","markdown":"https://insights.sbomify.com/CVE-2025-0495/index.md","name":"CVE-2025-0495","record":{"aliases":["AZL-58854","AZL-58863","BELL-CVE-2025-0495","DEBIAN-CVE-2025-0495","GHSA-m4gq-fm9h-8q75","GO-2025-3527","SUSE-SU-2025:1341-1","SUSE-SU-2025:1344-1","UBUNTU-CVE-2025-0495","openSUSE-SU-2025:14980-1"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Docker Buildx plugin","requires_auth":"low_privilege","summary":"Attackers can read secrets from cache backend configurations if they are passed as CLI arguments and captured in OpenTelemetry traces.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Docker","cpe":[],"cvss":{"score":4.1,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-532","name":"Insertion of Sensitive Information into Log File"}],"description":"Buildx is a Docker CLI plugin that extends build capabilities using BuildKit.\n\nCache 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.\n\nThis vulnerability does not impact secrets passed to the Github cache backend via environment variables or registry authentication.","ecosystems":["Go","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Secrets leakage to telemetry endpoint via cache backend configuration via buildx","id":"CVE-2025-0495","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"information_disclosure","year":"2025"},"n_packages":6,"n_references":1,"next":{"headline":"Rockwell Automation FactoryTalk® AssetCentre Data Exposure Vulnerability","id":"CVE-2025-0497"},"packages":[{"ecosystem":"Go","fixed":["0.21.3"],"introduced":["0"],"last_affected":[],"package":"github.com/docker/buildx","purl":null,"source":"GHSA-m4gq-fm9h-8q75"},{"ecosystem":"Go","fixed":["0.21.3"],"introduced":["0"],"last_affected":[],"package":"github.com/docker/buildx","purl":"pkg:golang/github.com/docker/buildx","source":"GHSA-m4gq-fm9h-8q75"},{"ecosystem":"Go","fixed":["0.21.3"],"introduced":["0"],"last_affected":[],"package":"github.com/docker/buildx","purl":"pkg:golang/github.com/docker/buildx","source":"GO-2025-3527"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["27.5.1_ce-98.129.1"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/suse/docker\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:1341-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["24.0.9_ce-1.14.1"],"introduced":["0"],"last_affected":[],"package":"docker-stable","purl":"pkg:rpm/suse/docker-stable\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2025:1344-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["24.0.9_ce-9.1"],"introduced":["0"],"last_affected":[],"package":"docker-stable","purl":"pkg:rpm/opensuse/docker-stable\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:14980-1"}],"prev":{"headline":"Path traversal in MultiVendorX – WooCommerce Multivendor Marketplace Solutions","id":"CVE-2025-0493"},"products":["buildx"],"published":"2025-03-17","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-03-18","vendors":["docker"]},"summary":"Attackers can read secrets from cache backend configurations if they are passed as CLI arguments and captured in OpenTelemetry traces.","url":"https://insights.sbomify.com/CVE-2025-0495/"}