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 package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| artixlinux opensysusers | up to 0.6 | NVD |
All scores
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 7.5high CVSS:2.0 | AV: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/992058 | exploit, mailing-list, third-party-advisory | |
| https://github.com/artix-linux/opensysusers/releases | release-notes, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-40084 changed 2024-08-04 | CVE Terms of Use |
| NVD | CVE-2021-40084 changed 2026-06-17 | Public domain |