<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-03T19:50:27.884297+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-xw73-rw38-6vjc</id>
    <title>GHSA-xw73-rw38-6vjc — Classic builder cache poisoning</title>
    <updated>2026-10-03T19:50:27.886655+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Go: github.com/docker/docker, Go: github.com/moby/moby</p>
<p>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.</p>
<p>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.</p>
<p>For example, an attacker could create an image that is considered as a valid cache candidate for:
```
FROM scratch
MAINTAINER Pawel
```</p>
<p>when in fact the malicious image used as a cache would be an image built from a different Dockerfile.</p>
<p>In the second case, the attacker could for example substitute a different `HEALTCHECK` command.</p>
<p>### Impact</p>
<p>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).</p>
<p>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.</p>
<p>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.</p>
<p>### Patches</p>
<p>Patches are included in Moby releases:</p>
<p>- v25.0.2
- v24.0.9
- v23.0.10</p>
<p>### Workarounds</p>
<p>- Use `--no-cache` or use Buildkit if possible (`DOCKER_BUILD…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-xw73-rw38-6vjc"/>
  </entry>
</feed>
