Repository navigation
Update module github.com/moby/sys/user to v0.4.1 [SECURITY] - #55
Open
renovate[bot] wants to merge 1 commit into
Open
renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
Generated by renovateBot
renovate
Bot
force-pushed
the
renovate/go-github.com-moby-sys-user-vulnerability
branch
from
October 23, 2026 16:10
5cfbd13 to
025f09a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v0.3.0→v0.4.1github.com/moby/sys/user has a possible DoS via unbounded parsing of user and group database files
CVE-2026-61801 / GHSA-mjcv-p78q-w5fw
More information
Details
A denial-of-service (DoS) vulnerability exists in
github.com/moby/sys/userbefore v0.4.1 when parsing specially crafted user or group database files. An attacker able to supply a malicious/etc/passwdor/etc/group-style file may cause excessive memory consumption, potentially resulting in process termination due to Out Of Memory (OOM) conditions.This issue is related to containerd [CVE-2026-47262] / GHSA-jpcc-p29g-p8mq, which describes one practical exploitation path through processing untrusted container image content. Applications using
github.com/moby/sys/userto parse untrusted user or group database files may be similarly affected.Impact
github.com/moby/sys/userversions before v0.4.1 do not place sufficient limits on entries while parsing user and group database files. A specially crafted file may cause excessive memory consumption, potentially leading to process termination due to Out Of Memory (OOM) conditions.Applications that use
github.com/moby/sys/userto parse user-supplied or otherwise untrusted/etc/passwdor/etc/groupfiles may be affected. The severity depends on whether an attacker can influence the contents of files being parsed.Patches
This issue is fixed in
github.com/moby/sys/userv0.4.1. Users should upgrade to v0.4.1 or later.Workarounds
Avoid parsing attacker-controlled
/etc/passwdor/etc/group-style files with affected versions ofgithub.com/moby/sys/user.Applications that must process untrusted user or group database files should validate and limit accepted input before parsing. Upgrading to v0.4.1 or later is the recommended remediation.
References
github.com/moby/sys/user: https://github.com/moby/sys/user/commit/210d32ba2bcb4544ee968c7f31249fe59796e60bSeverity
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
moby/sys (github.com/moby/sys/user)
v0.4.1What's Changed
Full Changelog: moby/sys@user/v0.4.0...user/v0.4.1
v0.4.0: user v0.4.0This release merges the
github.com/moby/moby/pkg/idtoolspackagefunctionality. The package was previously trimmed down and is simplified
further to better fit
moby/sys.Now the package interface will just expand with:
MkdirAllAndChownwithWithOnlyNewas aMkdirOptMkdirAndChownalso supporting the optsIdentityMappingits functionsRootPair,ToHost,ToContainer,EmptyNote that the
Identitytype is gone sinceSIDwas not used in thepackage or by any of the functions. It is more common to just pass the
uidandgid.What's Changed
github.com/moby/moby/pkg/idtoolsintouser#182Full Changelog: moby/sys@user/v0.3.0...user/v0.4.0
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.