# CVE-2019-17635: Deserialization in Eclipse Memory Analyzer

> Eclipse Memory Analyzer allows local code execution if a user reopens a heap dump with a malicious index file or if local configuration data is tampered with.

- **Severity:** High 7.8 (`CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** No
- **Published:** 17 Jan 2020
- **Updated:** 5 Aug 2024
- **Also known as:** GHSA-pwc3-f5rp-xjcq

## What is CVE-2019-17635?

CVE-2019-17635 is a high-severity unsafe deserialization vulnerability in The Eclipse Foundation Eclipse Memory Analyzer, published on 17 Jan 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

Eclipse Memory Analyzer version 1.9.1 and earlier is subject to a deserialization vulnerability if an index file of a parsed heap dump is replaced by a malicious version and the heap dump is reopened in Memory Analyzer. The user must chose to reopen an already parsed heap dump with an untrusted index for the problem to occur. The problem can be averted if the index files from an untrusted source are deleted and the heap dump is opened and reparsed. Also some local configuration data is subject to a deserialization vulnerability if the local data were to be replaced with a malicious version. This can be averted if the local configuration data stored on the file system cannot be changed by an attacker. The vulnerability could possibly allow code execution on the local system.

Weakness: CWE-502 (Deserialization of Untrusted Data)

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

It affects 1 product.


Products: Eclipse Memory Analyzer.

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

No fix has been published for CVE-2019-17635 yet. Limit exposure of the affected software until one is available.

## Is CVE-2019-17635 being exploited?

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

## Other vulnerabilities in The Eclipse Foundation Eclipse Memory Analyzer

- [CVE-2019-17634](https://insights.sbomify.com/CVE-2019-17634/): Cross-site scripting in Eclipse Memory Analyzer (critical 9.0)
- [CVE-2023-6194](https://insights.sbomify.com/CVE-2023-6194/): XML external entity in Eclipse Memory Analyzer (tools.mat) (low 2.8)

## Fix prompt for AI coding agents

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

What it is: CVE-2019-17635 is a high-severity unsafe deserialization vulnerability in The Eclipse Foundation Eclipse Memory Analyzer, published on 17 Jan 2020. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2019-17635 in the wild and no public exploit code.

Affected product: The Eclipse Foundation Eclipse Memory Analyzer. 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-17635/ (Markdown: https://insights.sbomify.com/CVE-2019-17635/index.md)
```

## Sources

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

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