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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | opensysusers | 0.6-3 | — |
| Debian 13 | opensysusers | 0.6-3 | — |
| Debian 12 | opensysusers | 0.6-3 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | — |