Skip to content
OpenAdvisories
Unscored CVE-2021-40084 EUVD-2021-27274GHSA-2hgh-26fm-566h

opensysusers through 0.6 does not safely use eval on files in sysusers.d that may contain shell metacharacters. For example, it allows comm…

Published Aug 25, 2021 · Updated Aug 4, 2024 · Assigned by mitre

Description

opensysusers through 0.6 does not safely use eval on files in sysusers.d that may contain shell metacharacters. For example, it allows command execution via a crafted GECOS field whereas systemd-sysusers (a program with the same specification) does not do that.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 opensysusers 0.6-3 —
Debian 13 opensysusers 0.6-3 —
Debian 12 opensysusers 0.6-3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS opensysusers No fix yet —
Ubuntu 25.10 opensysusers No fix yet —
Ubuntu 24.04 LTS opensysusers No fix yet —
Ubuntu 22.04 LTS opensysusers No fix yet —
Ubuntu 20.04 LTS opensysusers No fix yet —

References