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.
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 | lynis | 3.0.0-1 | — |
| Debian 13 | lynis | 3.0.0-1 | — |
| Debian 12 | lynis | 3.0.0-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | lynis | No fix yet | — |
| Ubuntu 18.04 LTS | lynis | No fix yet | — |
| Ubuntu 16.04 LTS | lynis | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | lynis | 3.0.5-3.2 | openSUSE-SU-2024:11032-1 |
Advisories 1
- openSUSE-SU-2024:11032-1 lynis-3.0.5-3.2 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://cisofy.com/security/cve/cve-2020-13882/
- FEDORA-2020-f251753b0f vendor-advisory
- FEDORA-2020-059e1591d6 vendor-advisory
- https://cwe.mitre.org/data/definitions/367.html