Name | CVE-2020-13882 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
lynis (PTS) | jessie, jessie (lts) | 1.6.3-1+deb8u1 | vulnerable |
stretch | 2.4.0-1 | vulnerable | |
buster | 2.6.2-1 | vulnerable | |
bullseye | 3.0.2-1 | fixed | |
bookworm | 3.0.8-1.1 | fixed | |
sid, trixie | 3.1.2-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
lynis | source | (unstable) | 3.0.0-1 | unimportant |
Neutralised by kernel hardening
https://github.com/CISOfy/lynis/pull/594
https://github.com/CISOfy/lynis/commit/5b09da0d9878096d45f04b858c4f65e674369ab4