CVE-2014-3209
NoneCVSS
—
EPSS
0.4%
Published
Nov 16, 2014
CISA due date
—
Cloudanix analysis
A tool that creates encryption keys on some systems may leave those keys readable by other users on the same computer, potentially letting them access protected information.
- Exploitation
- Local Privilege
- Attacker needs
- Local User
- Complexity
- Low
- Impact
- Data Exposure
- Component
- Application
- Class
- Credential Exposure
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
ldns-keygen creates private key files with permissions derived from the current umask instead of restrictive defaults, allowing other local users to read the key material.
Why it matters to the business
Exposure of private keys can let unauthorized local users decrypt traffic, impersonate services, or access protected resources, increasing risk of data breaches or service compromise; the packages remain present in container images despite the 2014 origin of the flaw.
How an attack unfolds
A local attacker waits for or triggers ldns-keygen execution, then reads the newly created private key file whose permissions were set too permissively by the active umask.
How to fix it
Upgrade hubble-ui (Chainguard) to 0.13.1-r4 or later, hubble-ui (Wolfi) to 0.13.1-r4 or later, hubble-ui-backend (Chainguard) to 0.13.1-r4 or later, and hubble-ui-backend (Wolfi) to 0.13.1-r4 or later; rebuild and redeploy affected images.
How to confirm the fix worked
Verify installed package versions match the fixed releases; after key generation, confirm private key files have mode 0600 or stricter regardless of umask.
Typical attack path
- Identify a process or script that invokes ldns-keygen on the system or container
- Trigger or observe key generation
- Read the resulting private key file using standard file access
- Use the obtained key material for further attacks such as decryption or authentication
How to detect it
Search filesystem or container layers for private key files created by ldns-keygen that have group or world readable permissions; inspect package manifests for vulnerable ldns versions; review process execution logs for ldns-keygen invocations followed by file access by non-owner users.
What your security team should do
- Immediately upgrade the listed packages to the specified fixed versions in all builds
- Scan container images and registries for older ldns-containing packages
- Add build-time checks that enforce restrictive umask or explicit chmod on generated keys
- Review any local processes that call ldns-keygen and ensure they run with safe umask settings
The record
The ldns-keygen tool in ldns 1.6.x uses the current umask to set the privileges of the private key, which might allow local users to obtain the private key by reading the file.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:10 | ldns | 0 | 1.6.17-4 |
| Debian:11 | ldns | 0 | 1.6.17-4 |
| Debian:12 | ldns | 0 | 1.6.17-4 |
| Debian:13 | ldns | 0 | 1.6.17-4 |
| Mageia:3 | ldns | 0 | 1.6.16-2.1.mga3 |
| Mageia:4 | ldns | 0 | 1.6.16-3.1.mga4 |
| Ubuntu:14.04:LTS | ldns | 0 | 1.6.17-1ubuntu0.1 |
| Ubuntu:16.04:LTS | ldns | 0 | 1.6.17-8 |
| Ubuntu:16.04:LTS | ldns | 0 | 1.6.17-8ubuntu0.1 |
Related vulnerabilities
- CVE-2026-81644 DoS vulnerability in the preview service module. CWE-264
- CVE-2026-49315 DoS vulnerability in the input device module. CWE-264
- CVE-2026-49313 Permission control vulnerability in the app lock module. CWE-264
- CVE-2026-49312 Permission control vulnerability in the window module. CWE-264
- CVE-2026-49310 Permission control vulnerability in the event notification module. CWE-264
- CVE-2026-41987 Permission control vulnerability in the app management module. CWE-264
- CVE-2026-49309 Permission control vulnerability in the Settings module. CWE-264
- CVE-2026-49308 Permission control vulnerability in the clipboard module. Impact: Successful exploitation… CWE-264