CVE-2020-13882

Source
https://nvd.nist.gov/vuln/detail/CVE-2020-13882
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2020-13882.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2020-13882
Related
Published
2020-06-18T18:15:10Z
Modified
2024-10-12T05:57:00.306262Z
Severity
  • 4.2 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:L CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Debian:11 / lynis

Package

Name
lynis
Purl
pkg:deb/debian/lynis?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:12 / lynis

Package

Name
lynis
Purl
pkg:deb/debian/lynis?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Debian:13 / lynis

Package

Name
lynis
Purl
pkg:deb/debian/lynis?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
3.0.0-1

Ecosystem specific

{
    "urgency": "unimportant"
}

Git / github.com/cisofy/lynis

Affected ranges

Type
GIT
Repo
https://github.com/cisofy/lynis
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed

Affected versions

1.*

1.6.1
1.6.2
1.6.3
1.6.4

2.*

2.0.0
2.1.0
2.1.1
2.2.0
2.3.0
2.3.1
2.3.2
2.3.3
2.3.4
2.4.0
2.4.1
2.4.2
2.4.3
2.4.4
2.4.5
2.4.6
2.4.7
2.4.8
2.5.0
2.5.1
2.5.2
2.5.3
2.5.4
2.5.5
2.5.6
2.5.7
2.5.8
2.5.9
2.6.0
2.6.1
2.6.2
2.6.3
2.6.4
2.6.5
2.6.6
2.6.7
2.6.8
2.6.9
2.7.0
2.7.1
2.7.2
2.7.3
2.7.4
2.7.5