CVE catalog

CVE-2020-13882

lynis: CVE-2020-13882

[CVE catalog]

Severity
Medium · CVSS 4.2CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L
Published
Source
[NVD] · [CVE record]
EPSS
0.26% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlynissid3.1.7-1fixed
Debianlynisforky3.1.7-1fixed
Debianlynistrixie3.1.4-1fixed
Debianlynisbookworm3.0.8-1.1fixed
Ubuntulynis16.042.1.1-1vulnerable
Ubuntulynis18.042.5.0-1vulnerable
Ubuntulynis18.042.6.0-1vulnerable
Ubuntulynis18.042.6.2-1vulnerable
Ubuntulynis20.042.6.2-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlynissourcesid3.0.0-1unimportantNot reportedNot reported
Debianlynissourceforky3.0.0-1unimportantNot reportedNot reported
Debianlynissourcetrixie3.0.0-1unimportantNot reportedNot reported
Debianlynissourcebookworm3.0.0-1unimportantNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [lynis]Fixed
    Details (2)
    • 3.0.8-1.1 · all · bookworm

      Fixed · Fixed: 3.0.0-1

      dsa · lynis · debian · bookworm; dsa · lynis · debian · 12

    • 3.0.8-1.1 · all · bookworm

      Fixed · Fixed: 3.0.0-1

      dsa · lynis · debian · bookworm; dsa · lynis · debian · 12

[Debian 13 (Trixie)]

  • [lynis]Fixed
    Details (2)
    • 3.1.4-1 · all · trixie

      Fixed · Fixed: 3.0.0-1

      dsa · lynis · debian · 13

    • 3.1.4-1 · all · trixie

      Fixed · Fixed: 3.0.0-1

      dsa · lynis · debian · 13

Observed:

References