CVE-2023-41034Eclipse Leshan
Critical 9.8 No auth needed
Follow: this CVE · Eclipse · Eclipse Leshan We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 57
- Auth required
- No
- Published
- Aug 31, 2023
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-611
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Eclipse Leshan is a device management server and client Java implementation. In affected versions DDFFileParser` and `DefaultDDFFileValidator` (and so `ObjectLoader`) are vulnerable to `XXE Attacks`. A DDF file is a LWM2M format used to store LWM2M object description. Leshan users are impacted only if they parse untrusted DDF files (e.g. if they let external users provide their own model), in that case they MUST upgrade to fixed version. If you parse only trusted DDF file and validate only with trusted xml schema, upgrading is not mandatory. This issue has been fixed in versions 1.5.0 and 2.0.0-M13. Users are advised to upgrade. There are no known workarounds for this vulnerability.
What to do
- Apply the vendor's security update for Leshan.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.eclipse.leshan:leshan-core |
< 1.5.0 |
1.5.0 |
— |
| Maven | org.eclipse.leshan:leshan-core |
≥ 2.0.0-M1 < 2.0.0-M13 |
2.0.0-M13 |
— |
Per OSV / GitHub Advisories (GHSA-wc9j-gc65-3cm7). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| eclipse | leshan | < 1.5.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
| eclipse | leshan | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Mitigation Third Party Advisory
- github.com Product
- owasp.org Not Applicable