CVE-2019-12779 json
libqb before 1.0.5 allows local users to overwrite arbitrary files via a symlink attack, because it uses predictable filenames (under /dev/…
published 7y ago modified 4mo ago also EUVD-2019-4363
- cvss
- 7.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 51%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- clusterlabs libqb 1.0.5
- libqb Debian 14, Debian 13, Debian 12 1.0.4-1
debian advisories DEBIAN-CVE-2019-12779
- libqb RHEL 7 1.0.1-9.el7
- libqb RHEL 8 1.0.3-10.el8
red hat advisories RHSA-2020:1189RHSA-2019:3610
- libqb SLE High Availability Extension 15 1.0.3+20171226.6d62b64-3.3.1
- libqb SLE Software Development Kit 12 SP4, SLE High Availability Extension 12 SP4, SLE High Availability Extension 12 SP3 1.0.3+20171226.6d62b64-4.3.1
- libdlm SLE Software Development Kit 12 SP4, SLE High Availability Extension 12 SP4, SLE High Availability Extension 12 SP3 4.0.7-3.3.2
- libqb SLE High Availability Extension 15 SP1 1.0.3+20190326.a521604-3.3.1
suse advisories SUSE-SU-2019:1812-1SUSE-SU-2019:1806-1SUSE-SU-2019:1791-1
- libqb Package Hub 15 SP1 1.0.3+20190326.a521604-bp151.2.3.1
- libqb openSUSE Leap 15.1 1.0.3+20190326.a521604-lp151.2.3.1
- libqb openSUSE Leap 15.0 1.0.3+20171226.6d62b64-lp150.2.3.1
opensuse advisories openSUSE-SU-2019:1891-1openSUSE-SU-2019:1752-1openSUSE-SU-2019:1718-1
Is CVE-2019-12779 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2019-12779 updated cvss 6.5
libqb: Insecure treatment of IPC (temporary) files
-
Red Hat Enterprise Linux 6 libqbaffected: no fix planned “Out of support scope”
-
Red Hat Storage 3 libqbaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux BaseOS (v. 8) libqb 1.0.3-10.el8fixed: vendor fix RHSA-2019:3610
-
Red Hat Enterprise Linux Client (v. 7) libqb 1.0.1-9.el7 Red Hat Enterprise Linux Client Optional (v. 7) libqb-devel 1.0.1-9.el7, libqb-debuginfo 1.0.1-9.el7 Red Hat Enterprise Linux ComputeNode (v. 7) libqb 1.0.1-9.el7 Red Hat Enterprise Linux ComputeNode Optional (v. 7) libqb-devel 1.0.1-9.el7, libqb-debuginfo 1.0.1-9.el7 Red Hat Enterprise Linux Server (v. 7) libqb 1.0.1-9.el7 Red Hat Enterprise Linux Server Optional (v. 7) libqb-devel 1.0.1-9.el7, libqb-debuginfo 1.0.1-9.el7fixed: vendor fix RHSA-2020:1189
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 7) libqb 1.0.1-9.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) libqb-devel 1.0.1-9.el7, libqb-debuginfo 1.0.1-9.el7
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.66% chance of exploitation in the next 30 days, higher than 51% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/ClusterLabs/libqb/issues/338 referenced PoC, tagged "exploit" by a source, unverified
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=1695948 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 7.1 | CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H |
| NVD | 2.0 | 6.6 | AV:L/AC:L/Au:N/C:N/I:C/A:C |
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/ClusterLabs/libqb/issues/338
exploit, issue-tracking, patch, third-party-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=1695948
exploit, patch, third-party-advisory, vdb-entry
-
lists.opensuse.org
/opensuse-security-announce/2019-07/msg00017.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-07/msg00027.html
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2019-08/msg00031.html
vendor-advisory
-
access.redhat.com
/errata/RHSA-2019:3610
vendor-advisory
-
security.gentoo.org
/glsa/202107-03
vendor-advisory
-
github.com
/ClusterLabs/libqb/releases/tag/v1.0.5
release-notes, third-party-advisory
-
github.com
/ClusterLabs/libqb/releases/tag/v1.0.4
release-notes, third-party-advisory
-
securityfocus.com
/bid/108691
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2019-12779
- NVD CVE-2019-12779
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.