Vulnerability · Published Jun 18, 2020 · Assigned by mitre
CVE-2020-13882
Medium 4.2
In plain English
A medium-severity security flaw in the lynis package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 17% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The routine to check the log and report file permissions was not working as intended and could be bypassed locally. Because of the race, an unprivileged attacker can set up a log and report file, and control that up to the point where the specific routine is doing its check. After that, the file can be removed, recreated, and used for additional attacks.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | lynis | 3.0.0-1 | DEBIAN-CVE-2020-13882 |
| Debian:13 | lynis | 3.0.0-1 | DEBIAN-CVE-2020-13882 |
| Debian:14 | lynis | 3.0.0-1 | DEBIAN-CVE-2020-13882 |
Affected products (as reported)
References
- https://cisofy.com/security/cve/cve-2020-13882/ x_refsource_CONFIRM
- FEDORA-2020-f251753b0f vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-059e1591d6 vendor-advisory, x_refsource_FEDORA
- https://cwe.mitre.org/data/definitions/367.html x_refsource_MISC