ubuntu-cve-2025-0495
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.14.1-0ubuntu1~20.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:20.04:LTS",
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx@0.14.1-0ubuntu1~20.04.1?arch=source\u0026distro=focal"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.11.2-0ubuntu1~20.04.1",
"0.11.2-0ubuntu1~20.04.2",
"0.12.1-0ubuntu1~20.04.1",
"0.12.1-0ubuntu1~20.04.2",
"0.14.1-0ubuntu1~20.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1~22.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx@0.30.1-0ubuntu1~22.04.1?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.11.2-0ubuntu1~22.04.1",
"0.11.2-0ubuntu1~22.04.2",
"0.12.1-0ubuntu1~22.04.1",
"0.12.1-0ubuntu1~22.04.2",
"0.14.1-0ubuntu1~22.04.1",
"0.20.1-0ubuntu1~22.04.1",
"0.20.1-0ubuntu1~22.04.2",
"0.21.3-0ubuntu1~22.04.1",
"0.30.1-0ubuntu1~22.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1~24.04.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:24.04:LTS",
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx@0.30.1-0ubuntu1~24.04.1?arch=source\u0026distro=noble"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.11.2-0ubuntu2",
"0.12.1-0ubuntu1",
"0.12.1-0ubuntu2",
"0.12.1-0ubuntu2.1",
"0.12.1-0ubuntu2.2",
"0.14.1-0ubuntu1~24.04.1",
"0.20.1-0ubuntu1~24.04.1",
"0.20.1-0ubuntu1~24.04.2",
"0.21.3-0ubuntu1~24.04.1",
"0.30.1-0ubuntu1~24.04.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1~25.10.1"
}
]
},
"package": {
"ecosystem": "Ubuntu:25.10",
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx@0.30.1-0ubuntu1~25.10.1?arch=source\u0026distro=questing"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.20.1-0ubuntu1",
"0.21.3-0ubuntu1",
"0.30.1-0ubuntu1~25.10.1"
]
},
{
"ecosystem_specific": {
"binaries": [
{
"binary_name": "docker-buildx",
"binary_version": "0.30.1-0ubuntu1"
}
]
},
"package": {
"ecosystem": "Ubuntu:26.04:LTS",
"name": "docker-buildx",
"purl": "pkg:deb/ubuntu/docker-buildx@0.30.1-0ubuntu1?arch=source\u0026distro=resolute"
},
"ranges": [
{
"events": [
{
"introduced": "0"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"0.21.3-0ubuntu1",
"0.30.1-0ubuntu1"
]
}
],
"aliases": [],
"details": "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\u00a0configuration. 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.\u00a0OpenTelemetry traces are also saved in BuildKit daemon\u0027s history records. This vulnerability does not impact secrets passed to the Github cache backend\u00a0via environment variables or registry authentication.",
"id": "UBUNTU-CVE-2025-0495",
"modified": "2026-05-20T15:15:53Z",
"published": "2025-03-17T20:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2025-0495"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2025-0495"
},
{
"type": "REPORT",
"url": "https://github.com/docker/buildx/security/advisories/GHSA-m4gq-fm9h-8q75"
},
{
"type": "REPORT",
"url": "https://github.com/docker/buildx"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "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",
"type": "CVSS_V4"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2025-0495"
]
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.