CVE-2020-13882
CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The...
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- High
- Privileges needed
- Low
- User interaction
- Required
What an attacker can affect
- Confidentiality
- Low
- Integrity
- Low
- Availability
- Low
Exploit likelihood
What each source reports
NVD Score used
4.2
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.
- Record
CVE-2020-13882- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L - CVSS 2.0
- 3.7 Low
AV:L/AC:H/Au:N/C:P/I:P/A:P - Weakness
- CWE-367
- Updated
- 2026-11-02
CVE List No score
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.
- Record
CVE-2020-13882- Updated
- 2026-11-02
EUVDEUVD-2020-6090 No score
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.
- Record
EUVD-2020-6090- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-fgc5-qjvv-cffv
4.2
CISOfy Lynis before 3.0.0 has Incorrect Access Control because of a TOCTOU race condition. The...
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.
- Record
GHSA-fgc5-qjvv-cffv- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L - Weakness
- CWE-367
- Updated
- 2026-11-02
OSV
4.2
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.
- Record
CVE-2020-13882- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVDEBIAN-CVE-2020-13882
4.2
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.
- Record
DEBIAN-CVE-2020-13882- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVUBUNTU-CVE-2020-13882
4.2
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.
- Record
UBUNTU-CVE-2020-13882- CVSS 3.1
- 4.2 Medium
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L - Updated
- 2026-11-02
OSVopenSUSE-SU-2024:11032-1 No score
lynis-3.0.5-3.2 on GA media
These are all security issues fixed in the lynis-3.0.5-3.2 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:11032-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
lynisDebian:12 |
before 3.0.0-1 | 3.0.0-1 |
lynisDebian:13 |
before 3.0.0-1 | 3.0.0-1 |
lynisDebian:14 |
before 3.0.0-1 | 3.0.0-1 |
lynisUbuntu:16.04:LTS |
All versions, plus listed versions 2.1.1-1 |
None known |
lynisUbuntu:18.04:LTS |
All versions, plus listed versions 2.5.0-12.6.0-12.6.2-1 |
None known |
lynisUbuntu:20.04:LTS |
All versions, plus listed versions 2.6.2-1 |
None known |
lynisopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 3.0.5-3.2 | 3.0.5-3.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2020-13882 is a medium vulnerability (CVSS 4.2) in Cisofy Lynis, published June 18, 2020. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.26%, the 17th percentile. Fixed in lynis 3.0.0-1.
References
cisofy.com/security/cve/cve-2020-13882
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD
cwe.mitre.org/data/definitions/367.html
nvd.nist.gov/vuln/detail/CVE-2020-13882
lists.fedoraproject.org/archives/list/[email protected]/message/JDCHEKNR3HPJRNHE5PYKFH5GNBADTPA7
Show 10 moreShow less
lists.fedoraproject.org/archives/list/[email protected]/message/UBFHIX6RTHCK37FXMAAXP4KGAMLUFDUD
github.com/advisories/GHSA-fgc5-qjvv-cffv
security-tracker.debian.org/tracker/CVE-2020-13882
ubuntu.com/security/CVE-2020-13882
github.com/CISOfy/lynis/pull/594
github.com/CISOfy/lynis/commit/5b09da0d9878096d45f04b858c4f65e674369ab4
cve.org/CVERecord?id=CVE-2020-13882
suse.com/security/cve/CVE-2017-8108
suse.com/security/cve/CVE-2019-13033
suse.com/security/cve/CVE-2020-13882