Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2026-93323

Опубликовано: 05 окт. 2026
Источник: redhat
CVSS3: 5.5
EPSS Низкий

Описание

The Dockerfile frontend loaded the Dockerfile and .dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB.

A flaw was found in BuildKit. A local user with build permissions can trigger a Denial of Service (DoS) by submitting a build context containing an oversized Dockerfile or .dockerignore file. Because the Dockerfile frontend loads these files directly into memory without enforcing a size limit, an excessively large file can exhaust system memory and terminate the build daemon. This termination halts all other active build processes running on the same instance.

Отчет

A flaw was found in BuildKit's Dockerfile frontend when processing build contexts. The frontend loads Dockerfile and .dockerignore files directly into memory without enforcing an upper size limit. An authenticated user authorized to submit builds can provide an excessively large Dockerfile or .dockerignore file, forcing the buildkitd daemon to allocate memory proportional to the file size. This unbounded allocation can exhaust host or container memory limits and trigger an out-of-memory termination of the daemon process, crashing active builds running on shared instances.

Меры по смягчению последствий

Enforce file size limits in source control or CI/CD pre-commit hooks to reject Dockerfile and .dockerignore files exceeding 16 MiB prior to build submission, and restrict build execution privileges to trusted users.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Hardened ImagesbuildahNot affected
Red Hat Hardened ImagespodmanNot affected
Red Hat Hardened ImagestrivyNot affected
Red Hat Quay 3quay/quay-builder-rhel8Fix deferred
Red Hat Quay 3quay/quay-builder-rhel9Fix deferred

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-770
https://bugzilla.redhat.com/show_bug.cgi?id=2546024github.com/moby/buildkit: BuildKit: Denial of Service via oversized build context files

EPSS

Процентиль: 1%
0.00107
Низкий

5.5 Medium

CVSS3

Связанные уязвимости

ubuntu
около 1 месяца назад

The Dockerfile frontend loaded the Dockerfile and .dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB.

nvd
около 1 месяца назад

The Dockerfile frontend loaded the Dockerfile and .dockerignore files of a build context into memory without a size limit. A build context containing an oversized file could make buildkitd allocate memory proportional to that file, potentially exhausting memory and terminating the daemon, which interrupts other builds on the same instance. Fixed by rejecting such files above 16 MiB.

msrc
26 дней назад

Oversized Dockerfile or .dockerignore can exhaust buildkitd memory

debian
около 1 месяца назад

The Dockerfile frontend loaded the Dockerfile and .dockerignore files ...

CVSS3: 5.5
redos
8 дней назад

Уязвимость buildkit

EPSS

Процентиль: 1%
0.00107
Низкий

5.5 Medium

CVSS3