WaratekVRT Sign in

CVE-2023-41034 Eclipse Leshan

Affected softwareEclipse Leshan
Severity9.8 Critical CVSS 3.1 2 scores
Fixed in1.5.0, 2.0.0-M13
WeaknessXML external entity (XXE) (CWE-611)
Published31 Aug 2023
Updated17 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.

  • 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

Protected by Waratek

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.

Waratek RASP Runtime protection for Java applications

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

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.

VersionScoreBandVectorAssignerType
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
PackageIntroducedFixedLast 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
SourceVendorProductSchemeAffected 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

URLTags
https://github.com/eclipse-leshan/leshan/commit/29577d2879ba8e7674c3b216a7f01193fc7ae013 commit
https://github.com/eclipse-leshan/leshan/security/advisories/GHSA-wc9j-gc65-3cm7 WEB
https://github.com/eclipse-leshan/leshan/commit/4d3e63ac271a817f81fba3e3229c519af7a3049c WEB
https://github.com/eclipse-leshan/leshan PACKAGE
https://github.com/eclipse-leshan/leshan/wiki/Adding-new-objects#the-lwm2m-model WEB
https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing WEB

Timeline

Published2023-08-31By the CVE Program.
NVD record modified2026-06-17NVD's own last-modified date for this record.