CVE-2020-13882

Public on 2020-06-18
Modified on 2024-05-17
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.
Severity
Medium severity
Medium
CVSS v3 Base Score
4.2
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 lynis 2020-08-26 ALAS-2020-1419 Fixed
Amazon Linux 2 - Lynis Extra lynis 2023-08-21 ALAS2LYNIS-2023-001 Fixed
Amazon Linux 2023 lynis Not Affected

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD CVSSv3 4.2 CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
NVD CVSSv2 3.7 AV:L/AC:H/Au:N/C:P/I:P/A:P