CVE-2023-41034 Eclipse Leshan
| Affected software | Eclipse Leshan |
|---|---|
| Severity | 9.8 Critical CVSS 3.1 2 scores |
| Fixed in | 1.5.0, 2.0.0-M13 |
| Weakness | XML external entity (XXE) (CWE-611) |
| Published | 31 Aug 2023 |
| Updated | 17 Jun 2026 |
Description
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.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 3 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment exploitation: none
- Indexed PoC none indexed
- EPSS 0.69% chance in 30 days
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full XXE
- Action available security rule
- Review automated Inferred
- Record active
| Decided by | A vulnerability class already blocked by an ARMR security rule |
|---|---|
| Finding | Protected by Waratek's ARMR xxe security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-611: XML External Entity Reference. |
| Candidate fix | https://github.com/eclipse-leshan/leshan/commit/29577d2879ba8e7674c3b216a7f01193fc7ae013 : a commit: the change itself |
How to mitigate CVE-2023-41034
Upgrade Eclipse Leshan to a release that fixes it: 1.5.0 or 2.0.0-M13. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.
CVSS
9.8 CRITICAL
v3.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
9.8 CRITICAL v3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.1 | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 3.1 | 6.5 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N |
security-advisories@github.com | Secondary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.eclipse.leshan:leshan-core |
0 | 1.5.0 |
unbounded |
org.eclipse.leshan:leshan-core |
2.0.0-M1 | 2.0.0-M13 |
unbounded |
Products and versions
2 products, 15 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | eclipse | leshan | generic | < 1.5.0 · 2.0.0:milestone1 · 2.0.0:milestone10 · 2.0.0:milestone11 · 2.0.0:milestone12 · 2.0.0:milestone2 · 2.0.0:milestone3 · 2.0.0:milestone4 · 2.0.0:milestone5 · 2.0.0:milestone6 · 2.0.0:milestone7 · 2.0.0:milestone8 · 2.0.0:milestone9 |
| osv | org.eclipse.leshan | leshan-core | generic | < 1.5.0 · ≥ 2.0.0 and < 2.0.0 |
References
Timeline
Timeline
| Published | 2023-08-31 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |