# CVE-2019-4732: Other in Java

> A local attacker can execute arbitrary code via DLL search order hijacking in the IBM Java SDK on Windows.

- **Severity:** High 7.2 (`CVSS:3.0/AC:H/AV:L/PR:H/I:H/C:H/A:H/S:C/UI:R/E:U/RC:C/RL:O`)
- **Exploited in the wild:** Not known
- **Login needed:** An administrator
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 3 Feb 2020
- **Updated:** 16 Sep 2024
- **Also known as:** GHSA-764v-x3h3-f6pj

## What is CVE-2019-4732?

CVE-2019-4732 is a high-severity vulnerability in Ibm Websphere Application Server, published on 3 Feb 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

IBM SDK, Java Technology Edition Version 7.0.0.0 through 7.0.10.55, 7.1.0.0 through 7.1.4.55, and 8.0.0.0 through 8.0.6.0 could allow a local authenticated attacker to execute arbitrary code on the system, caused by DLL search order hijacking vulnerability in Microsoft Windows client. By placing a specially-crafted file in a compromised folder, an attacker could exploit this vulnerability to execute arbitrary code on the system. IBM X-Force ID: 172618.

Weakness: CWE-426 (Untrusted Search Path)

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

It affects 2 products.


Products: Ibm Sdk, Ibm Websphere Application Server.

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

Upgrade to a fixed version.

## Is CVE-2019-4732 being exploited?

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

## Other vulnerabilities in Ibm Websphere Application Server

- [CVE-2017-1289](https://insights.sbomify.com/CVE-2017-1289/): XML external entity in Runtimes for Java Technology (high 8.2)
- [CVE-2022-40609](https://insights.sbomify.com/CVE-2022-40609/): IBM SDK, Java Technology Edition code execution (high 8.1)
- [CVE-2016-3956](https://insights.sbomify.com/CVE-2016-3956/): npm Token Leak in npm (high 7.5)
- [CVE-2018-1656](https://insights.sbomify.com/CVE-2018-1656/): Path traversal in SDK, Java Technology Edition (high 7.4)
- [CVE-2018-1890](https://insights.sbomify.com/CVE-2018-1890/): Code injection in Runtimes for Java Technology (medium 5.6)

## Fix prompt for AI coding agents

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

What it is: CVE-2019-4732 is a high-severity vulnerability in Ibm Websphere Application Server, published on 3 Feb 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-4732 in the wild and no public exploit code.

Affected product: Ibm Websphere Application Server. 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-4732/ (Markdown: https://insights.sbomify.com/CVE-2019-4732/index.md)
```

## Sources

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

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