portage-ng / portage / app-admin / logcheck / 1.4.3-r2
portage-ng glsa
1 advisory reference app-admin/logcheck · none place version 1.4.3-r2 in a vulnerable range
▸ GLSA 202209-10 Logcheck: Root privilege escalation version not in range normal remote 2022-09-25

A vulnerability has been discovered in Logcheck's ebuilds which could allow for root privilege escalation.

Announced
2022-09-25
Revised
2022-09-25
Access
remote
Bugs
#630752
Advisory
https://security.gentoo.org/glsa/202209-10

Affected packages

PackageArchVulnerableUnaffected
app-admin/logcheck*<= 1.3.23—

Background

Logcheck mails anomalies in the system logfiles to the administrator.

Description

The pkg_postinst phase of the Logcheck ebuilds recursively chown the /etc/logcheck and /var/lib/logcheck directories. If the logcheck adds hardlinks to other files in these directories, the chown call will follow the link and transfer ownership of any file to the logcheck user.

Impact

A local attacker with access to the logcheck user could escalate to root privileges.

Workaround

There is no known workaround at this time.

Resolution

Gentoo has discontinued support for Logcheck. We recommend that users remove it:

# emerge --ask --depclean "app-admin/logcheck"

References