Link Following Affecting libqb package, versions <0:1.0.5-1.amzn2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.66% (51st 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-LIBQB-1670271
  • published27 Sept 2021
  • disclosed7 Jun 2019

Introduced: 7 Jun 2019

CVE-2019-12779  (opens in a new tab)
CWE-59  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 libqb to version 0:1.0.5-1.amzn2 or higher.
This issue was patched in ALAS2-2019-1210.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libqb package and not the libqb package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

libqb before 1.0.5 allows local users to overwrite arbitrary files via a symlink attack, because it uses predictable filenames (under /dev/shm and /tmp) without O_EXCL.