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


Severity

Recommended
medium

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.5% (42nd 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-AMZN2-KEEPALIVEDDEBUGINFO-1674828
  • published27 Sept 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 Amazon-Linux:2 keepalived-debuginfo to version 0:1.3.5-16.amzn2 or higher.
This issue was patched in ALAS2-2019-1323.

NVD Description

Note: Versions mentioned in the description apply only to the upstream keepalived-debuginfo package and not the keepalived-debuginfo package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 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.