CVE-2023-41034
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.
Weakness
- CWE-611: Improper Restriction of XML External Entity Reference
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2024-09-27 |
Timeline
- 2023-08-31Published by the CNA17:01 UTC
- 2023-08-31GitHub advisory published (GHSA-wc9j-gc65-3cm7)same day
- 2024-09-27CISA SSVC decision recorded393 days after publication
Exploit and advisory records
GitHub advisory GHSA-wc9j-gc65-3cm7, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Maven org.eclipse.leshan:leshan-core | before 1.5.0 | 1.5.0 |
| Maven org.eclipse.leshan:leshan-core | from 2.0.0-M1 before 2.0.0-M13 | 2.0.0-M13 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| eclipse leshan | before 1.5.0fixed in 1.5.02.0.0no fix listed | 1.5.0not listed |
References
- https://github.com/eclipse-leshan/leshan/commit/29577d2879ba8e7674c3b216a7f01193fc7ae013
- https://github.com/eclipse-leshan/leshan/commit/4d3e63ac271a817f81fba3e3229c519af7a3049c
- https://github.com/eclipse-leshan/leshan/security/advisories/GHSA-wc9j-gc65-3cm7
- https://github.com/eclipse-leshan/leshan/wiki/Adding-new-objects#the-lwm2m-model
- https://owasp.org/www-community/vulnerabilities/XML_External_Entity_(XXE)_Processing
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2023-41034'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2023-41034'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2023-41034'curl 'https://api.contrastcyber.com/cve_products/CVE-2023-41034'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).