# CVE-2019-18900: libzypp stores cookies world readable

> Local attackers can read private cookies from the libzypp cookie store due to incorrect default file permissions.

- **Severity:** Medium 4.0 (`CVSS:3.1/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:** 24 Jan 2020
- **Updated:** 16 Sep 2024
- **Also known as:** DEBIAN-CVE-2019-18900, DLA-2132-1, GHSA-fp7r-722w-q34j, MGASA-2020-0245, SUSE-SU-2020:0079-1, SUSE-SU-2020:0079-2, SUSE-SU-2020:0087-1, SUSE-SU-2020:0432-1, SUSE-SU-2020:3367-1, UBUNTU-CVE-2019-18900, openSUSE-SU-2020:0255-1

## What is CVE-2019-18900?

CVE-2019-18900 is a medium-severity vulnerability in SUSE CaaS Platform 3.0, published on 24 Jan 2020. It can only be exploited from the same machine or local network, with no action from the victim.

### Official description

: Incorrect Default Permissions vulnerability in libzypp of SUSE CaaS Platform 3.0, SUSE Linux Enterprise Server 12, SUSE Linux Enterprise Server 15 allowed local attackers to read a cookie store used by libzypp, exposing private cookies. This issue affects: SUSE CaaS Platform 3.0 libzypp versions prior to 16.21.2-27.68.1. SUSE Linux Enterprise Server 12 libzypp versions prior to 16.21.2-2.45.1. SUSE Linux Enterprise Server 15 17.19.0-3.34.1.

Weakness: CWE-276 (Incorrect Default Permissions)

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

It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `libzypp` | SUSE:Enterprise Storage 5 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:HPE Helion OpenStack 8 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Desktop 12 SP4 | All versions | 16.21.2-2.45.1 |
| `libsolv` | SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 0.7.10-3.22.1 |
| `libzypp` | SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 17.19.0-3.34.1 |
| `zypper` | SUSE:Linux Enterprise Module for Basesystem 15 | All versions | 1.14.33-3.29.1 |
| `libsolv` | SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 0.7.10-3.13.4 |
| `libzypp` | SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 17.19.0-3.14.5 |
| `zypper` | SUSE:Linux Enterprise Module for Basesystem 15 SP1 | All versions | 1.14.33-3.13.5 |
| `libsolv` | SUSE:Linux Enterprise Module for Development Tools 15 | All versions | 0.7.10-3.22.1 |
| `libsolv` | SUSE:Linux Enterprise Module for Development Tools 15 SP1 | All versions | 0.7.10-3.13.4 |
| `libsolv` | SUSE:Linux Enterprise Module for Package Hub 15 SP1 | All versions | 0.7.10-3.13.4 |
| `libzypp` | SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 16.21.2-27.70.1 |
| `zypper` | SUSE:Linux Enterprise Server 12 SP2-BCL | All versions | 1.13.57-18.46.3 |
| `libzypp` | SUSE:Linux Enterprise Server 12 SP2-LTSS | All versions | 16.21.2-27.70.1 |
| `zypper` | SUSE:Linux Enterprise Server 12 SP2-LTSS | All versions | 1.13.57-18.46.3 |
| `libzypp` | SUSE:Linux Enterprise Server 12 SP3-BCL | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server 12 SP3-LTSS | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server 12 SP4 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server 12 SP4-LTSS | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server 12 SP5 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | All versions | 16.21.2-27.70.1 |
| `zypper` | SUSE:Linux Enterprise Server for SAP Applications 12 SP2 | All versions | 1.13.57-18.46.3 |
| `libzypp` | SUSE:Linux Enterprise Server for SAP Applications 12 SP3 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server for SAP Applications 12 SP4 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Server for SAP Applications 12 SP5 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Software Development Kit 12 SP4 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:Linux Enterprise Software Development Kit 12 SP5 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:OpenStack Cloud 7 | All versions | 16.21.2-27.70.1 |
| `zypper` | SUSE:OpenStack Cloud 7 | All versions | 1.13.57-18.46.3 |
| `libzypp` | SUSE:OpenStack Cloud 8 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:OpenStack Cloud 9 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:OpenStack Cloud Crowbar 8 | All versions | 16.21.2-2.45.1 |
| `libzypp` | SUSE:OpenStack Cloud Crowbar 9 | All versions | 16.21.2-2.45.1 |
| `libsolv` | openSUSE:Leap 15.1 | All versions | 0.7.10-lp151.2.10.1 |
| `libzypp` | openSUSE:Leap 15.1 | All versions | 17.19.0-lp151.2.10.1 |
| `zypper` | openSUSE:Leap 15.1 | All versions | 1.14.33-lp151.2.10.1 |

Products: Opensuse Libzypp.

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

Apply the vendor's patch.

## Is CVE-2019-18900 being exploited?

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

## Other vulnerabilities in SUSE CaaS Platform 3.0

- [CVE-2026-25707](https://insights.sbomify.com/CVE-2026-25707/): Handcrafted repo metadata may cause arbitrary local files to be overwritten by libzypp (high 8.8)
- [CVE-2026-44941](https://insights.sbomify.com/CVE-2026-44941/): libzypp path traversal via "keyhint" in repomd.xml (high 8.4)
- [CVE-2017-7435](https://insights.sbomify.com/CVE-2017-7435/): libzypp accepts unsigned 3rd party repo without warning (high 8.1)
- [CVE-2017-7436](https://insights.sbomify.com/CVE-2017-7436/): libzypp accepts unsigned packages even when configured to check signatures (high 8.1)
- [CVE-2018-7685](https://insights.sbomify.com/CVE-2018-7685/): libzypp does not reevaluate malicious rpms once downloaded (high 7.8)

## Fix prompt for AI coding agents

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

What it is: CVE-2019-18900 is a medium-severity vulnerability in SUSE CaaS Platform 3.0, published on 24 Jan 2020. 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-18900 in the wild and no public exploit code.

Affected product: SUSE CaaS Platform 3.0. 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-18900/ (Markdown: https://insights.sbomify.com/CVE-2019-18900/index.md)
```

## Sources

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

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