What’s Vulnerable › Vulnerabilities
CVE-2020-13882
- Severity: medium (CVSS 4.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2020-06-18 · updated 2026-06-17
- Weakness: CWE-367
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 products
- Cisofy Lynis: before 3.0.0 — fixed in 3.0.0
- Fedoraproject Fedora: 31, 32
How to fix
Upgrade to a fixed version: Cisofy Lynis 3.0.0. Check the vendor advisory for mitigations.
References
- https://cisofy.com/security/cve/cve-2020-13882/
- https://cwe.mitre.org/data/definitions/367.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD/
- https://cisofy.com/security/cve/cve-2020-13882/
- https://cwe.mitre.org/data/definitions/367.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD/
Get alerted when CVE-2020-13882 or the next vulnerability affects your stack