CVE-2019-12779 Path traversal in n/a
Local attackers can overwrite arbitrary files via symlink attacks due to predictable filenames in libqb shared memory operations.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-12779?
CVE-2019-12779 is a high-severity path traversal vulnerability in n/a, published on 7 Jun 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Weakness: CWE-59
Which versions are affected by CVE-2019-12779?
It affects 1 product.
Linux distribution packages (28)
libqb Red Hat:enterprise_linux:7::client | All versions | 0:1.0.1-9.el7 |
libqb-debuginfo Red Hat:enterprise_linux:7::client | All versions | 0:1.0.1-9.el7 |
libqb-devel Red Hat:enterprise_linux:7::client | All versions | 0:1.0.1-9.el7 |
libqb Red Hat:enterprise_linux:7::computenode | All versions | 0:1.0.1-9.el7 |
libqb-debuginfo Red Hat:enterprise_linux:7::computenode | All versions | 0:1.0.1-9.el7 |
libqb-devel Red Hat:enterprise_linux:7::computenode | All versions | 0:1.0.1-9.el7 |
libqb Red Hat:enterprise_linux:7::server | All versions | 0:1.0.1-9.el7 |
libqb-debuginfo Red Hat:enterprise_linux:7::server | All versions | 0:1.0.1-9.el7 |
libqb-devel Red Hat:enterprise_linux:7::server | All versions | 0:1.0.1-9.el7 |
libqb Red Hat:enterprise_linux:7::workstation | All versions | 0:1.0.1-9.el7 |
libqb-debuginfo Red Hat:enterprise_linux:7::workstation | All versions | 0:1.0.1-9.el7 |
libqb-devel Red Hat:enterprise_linux:7::workstation | All versions | 0:1.0.1-9.el7 |
libqb Red Hat:enterprise_linux:8::baseos | All versions | 0:1.0.3-10.el8 |
libqb-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.0.3-10.el8 |
libqb-debugsource Red Hat:enterprise_linux:8::baseos | All versions | 0:1.0.3-10.el8 |
libqb-devel Red Hat:enterprise_linux:8::baseos | All versions | 0:1.0.3-10.el8 |
libqb-tests-debuginfo Red Hat:enterprise_linux:8::baseos | All versions | 0:1.0.3-10.el8 |
libdlm SUSE:Linux Enterprise High Availability Extension 12 SP3 | All versions | 4.0.7-3.3.2 |
libqb SUSE:Linux Enterprise High Availability Extension 12 SP3 | All versions | 1.0.3+20171226.6d62b64-4.3.1 |
libdlm SUSE:Linux Enterprise High Availability Extension 12 SP4 | All versions | 4.0.7-3.3.2 |
libqb SUSE:Linux Enterprise High Availability Extension 12 SP4 | All versions | 1.0.3+20171226.6d62b64-4.3.1 |
libqb SUSE:Linux Enterprise High Availability Extension 15 | All versions | 1.0.3+20171226.6d62b64-3.3.1 |
libqb SUSE:Linux Enterprise High Availability Extension 15 SP1 | All versions | 1.0.3+20190326.a521604-3.3.1 |
libdlm SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 4.0.7-3.3.2 |
libqb SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 1.0.3+20171226.6d62b64-4.3.1 |
libqb SUSE:Package Hub 15 SP1 | All versions | 1.0.3+20190326.a521604-bp151.2.3.1 |
libqb openSUSE:Leap 15.0 | All versions | 1.0.3+20171226.6d62b64-lp150.2.3.1 |
libqb openSUSE:Leap 15.1 | All versions | 1.0.3+20190326.a521604-lp151.2.3.1 |
Products include Clusterlabs Libqb.
How do I fix CVE-2019-12779?
Upgrade to a fixed version.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2019-12779 being exploited?
There is no known exploitation of CVE-2019-12779 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as CVE-2019-10148, DEBIAN-CVE-2019-12779, GHSA-wc62-h53h-g8qf, MGASA-2020-0048, OESA-2021-1141, RHSA-2019:3610 and 9 more.