# CVE-2019-3684: susemanager installer creates world-readable swap files

> The installer creates world-readable swap files on systems without existing swap or btrfs, allowing local attackers to read sensitive memory contents.

- **Severity:** Medium 4.0 (`CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 13 May 2019
- **Updated:** 17 Sep 2024
- **Also known as:** GHSA-wmqv-rv2p-ffx8, SUSE-RU-2019:1703-1, SUSE-SU-2019:1703-1

## What is CVE-2019-3684?

CVE-2019-3684 is a medium-severity vulnerability in SUSE Manager, published on 13 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

SUSE Manager until version 4.0.7 and Uyuni until commit 1b426ad5ed0a7191a6fb46bb83e98ae4b99a5ade created world-readable swap files on systems that don't have a swap already configured and don't have btrfs as filesystem

Weakness: CWE-922 (Insecure Storage of Sensitive Information)

## Which versions are affected by CVE-2019-3684?

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `rhncfg` | SUSE:Manager Proxy 3.2 | All versions | 5.10.122.3-3.3.1 |
| `rhncfg` | SUSE:Manager Proxy 3.2 | All versions | 5.10.122.3-3.3.1 |
| `spacewalk-backend` | SUSE:Manager Proxy 3.2 | All versions | 2.8.57.16-3.30.1 |
| `spacewalk-backend` | SUSE:Manager Proxy 3.2 | All versions | 2.8.57.16-3.30.1 |
| `spacewalk-certs-tools` | SUSE:Manager Proxy 3.2 | All versions | 2.8.8.10-3.11.1 |
| `spacewalk-certs-tools` | SUSE:Manager Proxy 3.2 | All versions | 2.8.8.10-3.11.1 |
| `spacewalk-proxy` | SUSE:Manager Proxy 3.2 | All versions | 2.8.5.5-3.6.2 |
| `spacewalk-proxy` | SUSE:Manager Proxy 3.2 | All versions | 2.8.5.5-3.6.2 |
| `spacewalk-proxy-installer` | SUSE:Manager Proxy 3.2 | All versions | 2.8.6.6-3.12.1 |
| `spacewalk-proxy-installer` | SUSE:Manager Proxy 3.2 | All versions | 2.8.6.6-3.12.1 |
| `spacewalk-web` | SUSE:Manager Proxy 3.2 | All versions | 2.8.7.16-3.27.1 |
| `spacewalk-web` | SUSE:Manager Proxy 3.2 | All versions | 2.8.7.16-3.27.1 |
| `zypp-plugin-spacewalk` | SUSE:Manager Proxy 3.2 | All versions | 1.0.5-3.7.1 |
| `zypp-plugin-spacewalk` | SUSE:Manager Proxy 3.2 | All versions | 1.0.5-3.7.1 |
| `cobbler` | SUSE:Manager Server 3.2 | All versions | 2.6.6-6.19.1 |
| `cobbler` | SUSE:Manager Server 3.2 | All versions | 2.6.6-6.19.1 |
| `py26-compat-salt` | SUSE:Manager Server 3.2 | All versions | 2016.11.10-6.26.1 |
| `py26-compat-salt` | SUSE:Manager Server 3.2 | All versions | 2016.11.10-6.26.1 |
| `salt-netapi-client` | SUSE:Manager Server 3.2 | All versions | 0.16.0-4.11.1 |
| `salt-netapi-client` | SUSE:Manager Server 3.2 | All versions | 0.16.0-4.11.1 |
| `spacewalk-backend` | SUSE:Manager Server 3.2 | All versions | 2.8.57.16-3.30.1 |
| `spacewalk-backend` | SUSE:Manager Server 3.2 | All versions | 2.8.57.16-3.30.1 |
| `spacewalk-certs-tools` | SUSE:Manager Server 3.2 | All versions | 2.8.8.10-3.11.1 |
| `spacewalk-certs-tools` | SUSE:Manager Server 3.2 | All versions | 2.8.8.10-3.11.1 |
| `spacewalk-config` | SUSE:Manager Server 3.2 | All versions | 2.8.5.7-3.16.1 |
| `spacewalk-config` | SUSE:Manager Server 3.2 | All versions | 2.8.5.7-3.16.1 |
| `spacewalk-java` | SUSE:Manager Server 3.2 | All versions | 2.8.78.22-3.32.1 |
| `spacewalk-java` | SUSE:Manager Server 3.2 | All versions | 2.8.78.22-3.32.1 |
| `spacewalk-web` | SUSE:Manager Server 3.2 | All versions | 2.8.7.16-3.27.1 |
| `spacewalk-web` | SUSE:Manager Server 3.2 | All versions | 2.8.7.16-3.27.1 |
| `susemanager` | SUSE:Manager Server 3.2 | All versions | 3.2.18-3.25.2 |
| `susemanager` | SUSE:Manager Server 3.2 | All versions | 3.2.18-3.25.2 |
| `susemanager-docs_en` | SUSE:Manager Server 3.2 | All versions | 3.2-11.26.1 |
| `susemanager-docs_en` | SUSE:Manager Server 3.2 | All versions | 3.2-11.26.1 |
| `susemanager-schema` | SUSE:Manager Server 3.2 | All versions | 3.2.19-3.25.1 |
| `susemanager-schema` | SUSE:Manager Server 3.2 | All versions | 3.2.19-3.25.1 |
| `susemanager-sls` | SUSE:Manager Server 3.2 | All versions | 3.2.25-3.29.1 |
| `susemanager-sls` | SUSE:Manager Server 3.2 | All versions | 3.2.25-3.29.1 |
| `susemanager-sync-data` | SUSE:Manager Server 3.2 | All versions | 3.2.15-3.23.1 |
| `susemanager-sync-data` | SUSE:Manager Server 3.2 | All versions | 3.2.15-3.23.1 |

Products: Suse Manager.

## How do I fix CVE-2019-3684?

Apply the vendor's patch.

## Is CVE-2019-3684 being exploited?

There is no known exploitation of CVE-2019-3684 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2019-3684 and fix it if it is affected.

What it is: CVE-2019-3684 is a medium-severity vulnerability in SUSE Manager, published on 13 May 2019. It can only be exploited from the same machine or local network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2019-3684 in the wild and no public exploit code.

Affected product: SUSE Manager. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2019-3684/ (Markdown: https://insights.sbomify.com/CVE-2019-3684/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2019-3684
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2019-3684
- OSV: https://osv.dev/vulnerability/CVE-2019-3684

---
From sbomify Insights: https://insights.sbomify.com/CVE-2019-3684/
Summaries are generated and may contain mistakes; the official description above is the record.
