# CVE-2023-28935: Apache UIMA DUCC: DUCC (EOL) allows RCE

> Authenticated users with entity modification permissions can execute arbitrary commands as the system user in the retired Apache UIMA DUCC module.

- **Severity:** High 8.8 (`CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 30 Mar 2023
- **Updated:** 23 Oct 2024
- **Also known as:** GHSA-34m5-796p-mjcp

## What is CVE-2023-28935?

CVE-2023-28935 is a high-severity command injection vulnerability in Apache UIMA DUCC, published on 30 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

** UNSUPPORTED WHEN ASSIGNED ** Improper Neutralization of Special Elements used in a Command ('Command Injection') vulnerability in Apache Software Foundation Apache UIMA DUCC.

When using the "Distributed UIMA Cluster Computing" (DUCC) module of Apache UIMA, an authenticated user that has the permissions to modify core entities can cause command execution as the system user that runs the web process.

As the "Distributed UIMA Cluster Computing" module for UIMA is retired, we do not plan to release a fix for this issue.
NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

Weakness: CWE-77 (Improper Neutralization of Special Elements used in a Command)

## Which versions are affected by CVE-2023-28935?

2 open source packages ship an affected version, including org.apache.uima:uima-ducc-parent. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `org.apache.uima:uima-ducc-parent` | Maven | All versions to 3.0.0 | None |
| `org.apache.uima:uima-ducc-parent` | Maven | All versions to 3.0.0 | None |

Products: Apache Unstructured Information Management Architecture.

## How do I fix CVE-2023-28935?

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

## Is CVE-2023-28935 being exploited?

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

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2023-28935 and fix it if it is affected.

What it is: CVE-2023-28935 is a high-severity command injection vulnerability in Apache UIMA DUCC, published on 30 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2023-28935 in the wild and no public exploit code.

Affected packages and fixed versions:
- org.apache.uima:uima-ducc-parent (Maven): affected all versions up to 3.0.0; no fix listed
- org.apache.uima:uima-ducc-parent (Maven): affected all versions up to 3.0.0; no fix listed

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-2023-28935/ (Markdown: https://insights.sbomify.com/CVE-2023-28935/index.md)
```

## Sources

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

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