Skip to content

sec: fix worker OOM via unbounded /etc/passwd and /etc/group parsing - #9642

Merged
IvanChalukov merged 1 commit into
concourse:masterfrom
IvanChalukov:iss-9641
Jul 14, 2026
Merged

IvanChalukov merged 1 commit into
concourse:masterfrom
IvanChalukov:iss-9641

Conversation

@IvanChalukov

Copy link
Copy Markdown
Contributor

Changes proposed by this PR

closes #9641

  • Bump github.com/moby/sys/user from v0.4.0 to v0.4.1 to fix unbounded memory consumption when parsing /etc/passwd or /etc/group from a task image (GHSA-mjcv-p78q-w5fw). A crafted image could spike worker memory usage up to 100% and OOM-kill the worker, terminating all in-flight builds on that worker.

Notes to reviewer

Steps to reproduce can be found in #9641

Release Note

Worker processes are no longer vulnerable to memory exhaustion when processing task images with oversized /etc/passwd or /etc/group files.

@IvanChalukov
IvanChalukov requested a review from a team July 13, 2026 12:58
@Kump3r Kump3r added bug security go Pull requests that update go code labels Jul 13, 2026
@IvanChalukov
IvanChalukov merged commit 47947da into concourse:master Jul 14, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug go Pull requests that update go code security

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Worker OOM via malicious image /etc/group (unbounded group file parsing)

3 participants