Skip to content

Updated module github.com/moby/sys/user from v0.4.0 to v0.4.1 [SECURITY] - autoclosed - #351

Closed
paketo-bot wants to merge 1 commit into
mainfrom
renovate/go-github.com-moby-sys-user-vulnerability
Closed

paketo-bot wants to merge 1 commit into
mainfrom
renovate/go-github.com-moby-sys-user-vulnerability

Conversation

@paketo-bot

Copy link
Copy Markdown
Member

This PR contains the following updates:

Package Type Update Change
github.com/moby/sys/user indirect patch v0.4.0 → v0.4.1

github.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/user before v0.4.1 when parsing specially crafted user or group database files. An attacker able to supply a malicious /etc/passwd or /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/user to parse untrusted user or group database files may be similarly affected.

Impact

github.com/moby/sys/user versions 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/user to parse user-supplied or otherwise untrusted /etc/passwd or /etc/group files 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/user v0.4.1. Users should upgrade to v0.4.1 or later.

Workarounds

Avoid parsing attacker-controlled /etc/passwd or /etc/group-style files with affected versions of github.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

Severity

  • CVSS Score: 5.5 / 10 (Medium)
  • Vector String: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

moby/sys (github.com/moby/sys/user)

v0.4.1

What's Changed

  • user: prevent possible DoS via unbounded parsing of user and group database files in CVE-2026-61801 / GHSA-mjcv-p78q-w5fw. This fixes a similar issue as CVE-2026-47262 in containerd.
  • user: prevent falling back to looking up numeric usernames and improve handling of numeric user/group to prevent looking up numeric values as usernames. This fixes a similar issue as CVE-2026-46680 in containerd. #​221
  • user: bump Go to 1.18, modernize #​198
  • user: make code a bit more DRY #​225
  • user: test cleanups #​226

Full Changelog: moby/sys@user/v0.4.0...user/v0.4.1


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate CLI.

@paketo-bot
paketo-bot requested review from a team as code owners November 14, 2026 04:35
@paketo-bot-reviewer
paketo-bot-reviewer enabled auto-merge (rebase) November 14, 2026 04:41
@paketo-bot paketo-bot changed the title Updated module github.com/moby/sys/user from v0.4.0 to v0.4.1 [SECURITY] Updated module github.com/moby/sys/user from v0.4.0 to v0.4.1 [SECURITY] - autoclosed Nov 15, 2026
@paketo-bot paketo-bot closed this Nov 15, 2026
auto-merge was automatically disabled November 15, 2026 04:34

Pull request was closed

@paketo-bot
paketo-bot deleted the renovate/go-github.com-moby-sys-user-vulnerability branch November 15, 2026 04:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants