<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Sat, 03 Oct 2026 20:43:10 +0000</lastBuildDate>
    <item>
      <title>GHSA-xw73-rw38-6vjc — Classic builder cache poisoning</title>
      <link>https://db.gcve.eu/vuln/ghsa-xw73-rw38-6vjc</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/docker/docker, Go: github.com/moby/moby&lt;/p&gt;
&lt;p&gt;The classic builder cache system is prone to cache poisoning if the image is built `FROM scratch`.
Also, changes to some instructions (most important being `HEALTHCHECK` and `ONBUILD`) would not cause a cache miss.&lt;/p&gt;
&lt;p&gt;An attacker with the knowledge of the Dockerfile someone is using could poison their cache by making them pull a specially crafted image that would be considered as a valid cache candidate for some build steps.&lt;/p&gt;
&lt;p&gt;For example, an attacker could create an image that is considered as a valid cache candidate for:
```
FROM scratch
MAINTAINER Pawel
```&lt;/p&gt;
&lt;p&gt;when in fact the malicious image used as a cache would be an image built from a different Dockerfile.&lt;/p&gt;
&lt;p&gt;In the second case, the attacker could for example substitute a different `HEALTCHECK` command.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;23.0+ users are only affected if they explicitly opted out of Buildkit (`DOCKER_BUILDKIT=0` environment variable) or are using the `/build` API endpoint (which uses the classic builder by default).&lt;/p&gt;
&lt;p&gt;All users on versions older than 23.0 could be impacted. An example could be a CI with a shared cache, or just a regular Docker user pulling a malicious image due to misspelling/typosquatting.&lt;/p&gt;
&lt;p&gt;Image build API endpoint (`/build`) and `ImageBuild` function from `github.com/docker/docker/client` is also affected as it the uses classic builder by default.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Patches are included in Moby releases:&lt;/p&gt;
&lt;p&gt;- v25.0.2
- v24.0.9
- v23.0.10&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;- Use `--no-cache` or use Buildkit if possible (`DOCKER_BUILD…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: github.com/docker/docker, Go: github.com/moby/moby&lt;/p&gt;
&lt;p&gt;The classic builder cache system is prone to cache poisoning if the image is built `FROM scratch`.
Also, changes to some instructions (most important being `HEALTHCHECK` and `ONBUILD`) would not cause a cache miss.&lt;/p&gt;
&lt;p&gt;An attacker with the knowledge of the Dockerfile someone is using could poison their cache by making them pull a specially crafted image that would be considered as a valid cache candidate for some build steps.&lt;/p&gt;
&lt;p&gt;For example, an attacker could create an image that is considered as a valid cache candidate for:
```
FROM scratch
MAINTAINER Pawel
```&lt;/p&gt;
&lt;p&gt;when in fact the malicious image used as a cache would be an image built from a different Dockerfile.&lt;/p&gt;
&lt;p&gt;In the second case, the attacker could for example substitute a different `HEALTCHECK` command.&lt;/p&gt;
&lt;p&gt;### Impact&lt;/p&gt;
&lt;p&gt;23.0+ users are only affected if they explicitly opted out of Buildkit (`DOCKER_BUILDKIT=0` environment variable) or are using the `/build` API endpoint (which uses the classic builder by default).&lt;/p&gt;
&lt;p&gt;All users on versions older than 23.0 could be impacted. An example could be a CI with a shared cache, or just a regular Docker user pulling a malicious image due to misspelling/typosquatting.&lt;/p&gt;
&lt;p&gt;Image build API endpoint (`/build`) and `ImageBuild` function from `github.com/docker/docker/client` is also affected as it the uses classic builder by default.&lt;/p&gt;
&lt;p&gt;### Patches&lt;/p&gt;
&lt;p&gt;Patches are included in Moby releases:&lt;/p&gt;
&lt;p&gt;- v25.0.2
- v24.0.9
- v23.0.10&lt;/p&gt;
&lt;p&gt;### Workarounds&lt;/p&gt;
&lt;p&gt;- Use `--no-cache` or use Buildkit if possible (`DOCKER_BUILD…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-xw73-rw38-6vjc</guid>
    </item>
  </channel>
</rss>
