# CVE-2021-21783: Integer overflow in Genivia

> A remote attacker can execute arbitrary code by sending a specially crafted SOAP request to applications using the gSOAP library.

- **Severity:** Critical 9.8 (`CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 25 Mar 2021
- **Updated:** 3 Aug 2024
- **Also known as:** DEBIAN-CVE-2021-21783, GHSA-pf2j-vqc7-8qr7, UBUNTU-CVE-2021-21783

## What is CVE-2021-21783?

CVE-2021-21783 is a critical vulnerability in Oracle Communications Diameter Signaling Router, published on 25 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

A code execution vulnerability exists in the WS-Addressing plugin functionality of Genivia gSOAP 2.8.107. A specially crafted SOAP request can lead to remote code execution. An attacker can send an HTTP request to trigger this vulnerability.

Weakness: CWE-190 (Integer Overflow or Wraparound), CWE-680 (Integer Overflow to Buffer Overflow)

## Which versions are affected by CVE-2021-21783?

It affects 6 products.


Products: Genivia Gsoap, Oracle Communications Diameter Signaling Router, Oracle Communications Eagle Application Processor, Oracle Communications Eagle Lnp Application Processor, Oracle Communications Lsms, Oracle Tekelec Virtual Operating Environment.

## How do I fix CVE-2021-21783?

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

## Is CVE-2021-21783 being exploited?

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

## Other vulnerabilities in Oracle Communications Diameter Signaling Router

- [CVE-2019-25355](https://insights.sbomify.com/CVE-2019-25355/): Genivia gSOAP 2.8 - 'gSOAP' Path Traversal (high 8.7)
- [CVE-2017-9765](https://insights.sbomify.com/CVE-2017-9765/): Integer overflow in n/a (high 8.1)
- [CVE-2019-6973](https://insights.sbomify.com/CVE-2019-6973/): Denial of service in n/a (high 7.5)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2021-21783 and fix it if it is affected.

What it is: CVE-2021-21783 is a critical vulnerability in Oracle Communications Diameter Signaling Router, published on 25 Mar 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2021-21783 in the wild and no public exploit code.

Affected product: Oracle Communications Diameter Signaling Router. 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-2021-21783/ (Markdown: https://insights.sbomify.com/CVE-2021-21783/index.md)
```

## Sources

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

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