Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#54067 - [lynis] 2.4.8-1 CVE-2017-8108 Improper Link Resolution Before File Access

Attached to Project: Community Packages
Opened by Hannes Dinter (cdo) - Monday, 15 May 2017, 18:16 GMT
Last edited by Levente Polyak (anthraxx) - Monday, 22 May 2017, 12:54 GMT
Task Type Bug Report
Category Security
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Michael Scherer discovered that some Lynis tests reuse the same temporary file. As some tests remove the temporary file, this might give an attacker the possibility to perform a link following attack. While timing must be perfect, there is a very small time window in which the attack can recreate the temporary file and symlink it to another resource, like a file. In this case data may be overwritten, or possibly executed. [0]

Affected version:
* lynis<2.5.0

Resolution (according to [0]):
* Upgrade to Lynis 2.5.0 or later.
* Linux users may use sysctl and set both fs.protected_hardlinks=1 and fs.protected_symlinks=1, which may reduce the impact for this type of attack.

This task depends upon

Closed by  Levente Polyak (anthraxx)
Monday, 22 May 2017, 12:54 GMT
Reason for closing:  Fixed
Additional comments about closing:  2.5.0-1
Comment by Hannes Dinter (cdo) - Monday, 15 May 2017, 18:17 GMT
Package has been flagged out-of-date on 2017-05-03 (not by me)
Can someone please submit this to It's not yet included there. Thanks!