CVE-2021-40084
JSON

9.8critical

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

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
2.97% (higher than 87% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
artixlinux opensysusersup to 0.6NVD

All scores

NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

What each source says

CVE List

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.

NVD (es)

opensysusers versiones hasta 0.6, no usa de forma segura eval en los archivos de sysusers.d que pueden contener metacaracteres del shell. Por ejemplo, permite la ejecución de comandos por medio de un campo GECOS diseñado, mientras que systemd-sysusers (un programa con la misma especificación) no lo hace.

References

https://bugs.debian.org/992058exploit, mailing-list, third-party-advisory
https://github.com/artix-linux/opensysusers/releasesrelease-notes, third-party-advisory

Sources

SourceRecordLicence
CVE ListCVE-2021-40084 changed 2024-08-04CVE Terms of Use
NVDCVE-2021-40084 changed 2026-06-17Public domain