Link Following Affecting keepalived package, versions <0:1.3.5-16.el7


Severity

Recommended
medium

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL7-KEEPALIVED-1515098
  • published26 Jul 2021
  • disclosed8 Nov 2018

Introduced: 8 Nov 2018

CVE-2018-19044  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade RHEL:7 keepalived to version 0:1.3.5-16.el7 or higher.
This issue was patched in RHSA-2019:2285.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keepalived package and not the keepalived package as distributed by RHEL. See How to fix? for RHEL:7 relevant fixed versions and status.

keepalived 2.0.8 didn't check for pathnames with symlinks when writing data to a temporary file upon a call to PrintData or PrintStats. This allowed local users to overwrite arbitrary files if fs.protected_symlinks is set to 0, as demonstrated by a symlink from /tmp/keepalived.data or /tmp/keepalived.stats to /etc/passwd.