Every CVE Search/ Get API key

CVE-2021-40084

opensysusers through 0.6 does not safely use eval on files in sysusers.d that may contain shell...

9.8 CriticalFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
High
Integrity
High
Availability
High

Exploit likelihood

2.93%Up 1.8 points since Aug 25, 2021
90%50%10%1%

What each source reports

NVD Score used 9.8

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.

Record
CVE-2021-40084
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0
7.5 HighAV:N/AC:L/Au:N/C:P/I:P/A:P
Weakness
CWE-94
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2021-40084
Updated
2026-11-02
EUVDEUVD-2021-27274 No score

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.

Record
EUVD-2021-27274
Updated
2026-11-03
GitHub AdvisoriesGHSA-2hgh-26fm-566h 9.8

opensysusers through 0.6 does not safely use eval on files in sysusers.d that may contain shell...

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.

Record
GHSA-2hgh-26fm-566h
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness
CWE-77
Updated
2026-11-02
OSV 9.8

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.

Record
CVE-2021-40084
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2021-40084 9.8

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.

Record
DEBIAN-CVE-2021-40084
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2021-40084 9.8

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.

Record
UBUNTU-CVE-2021-40084
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
opensysusers
Debian:12
before 0.6-3
0.6-3
opensysusers
Debian:13
before 0.6-3
0.6-3
opensysusers
Debian:14
before 0.6-3
0.6-3
opensysusers
Ubuntu:20.04:LTS
All versions, plus listed versions
0.5.1-1
None known
opensysusers
Ubuntu:22.04:LTS
All versions, plus listed versions
0.6-20.6-3
None known
opensysusers
Ubuntu:24.04:LTS
All versions, plus listed versions
0.7.3-2
None known
opensysusers
Ubuntu:25.10
All versions, plus listed versions
0.7.3-4.10.7.3-5
None known
opensysusers
Ubuntu:26.04:LTS
All versions, plus listed versions
0.7.3-50.7.3-5.1
None known

History

History
RecordedChangedSources
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2021-40084 is a critical vulnerability (CVSS 9.8) in Artixlinux Opensysusers, published August 25, 2021. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 2.93%, the 87th percentile. Fixed in opensysusers 0.6-3.

References

MoveEnter Open