CVE-2018-11758 Apache Cayenne
| Affected software | Apache Cayenne |
|---|---|
| Severity | 8.1 High CVSS 3.0 2 scores |
| Fixed in | 3.1.3, 4.1 |
| Weakness | XML external entity (XXE) (CWE-611) |
| Published | 22 Aug 2018 |
| Updated | 17 Jun 2026 |
Description
This affects Apache Cayenne 4.1.M1, 3.2.M1, 4.0.M2 to 4.0.M5, 4.0.B1, 4.0.B2, 4.0.RC1, 3.1, 3.1.1, 3.1.2. CayenneModeler is a desktop GUI tool shipped with Apache Cayenne and intended for editing Cayenne ORM models stored as XML files. If an attacker tricks a user of CayenneModeler into opening a malicious XML file, the attacker will be able to instruct the XML parser built into CayenneModeler to transfer files from a local machine to a remote machine controlled by the attacker. The cause of the issue is XML parser processing XML External Entity (XXE) declarations included in XML. The vulnerability is addressed in Cayenne by disabling XXE processing in all operations that require XML parsing.
Exploitation status
No public exploit
No exploit has been reported in the sources we check. Published 8 years ago.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV not listed
- CISA Vulnrichment no assessment published
- Indexed PoC none indexed
- EPSS 2.9% 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. |
How to mitigate CVE-2018-11758
Upgrade Apache Cayenne to a release that fixes it: 3.1.3 or 4.1. Until you can, Waratek RASP blocks exploitation with its XXE rule. It runs inside the Java application, with no code changes.
CVSS
8.1 HIGH
v3.0 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
2 metrics
CVSS
8.1 HIGH v3.0CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
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.0 | 8.1 | HIGH | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
NVD | Primary | published |
| CVSS 2.0 | 5.8 | none | AV:N/AC:M/Au:N/C:P/I:P/A:N |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.cayenne:cayenne-parent |
0 | 3.1.3 |
unbounded |
org.apache.cayenne:cayenne-parent |
4.0 | 4.1 |
unbounded |
Products and versions
2 products, 14 version entries| Source | Vendor | Product | Scheme | Affected versions |
|---|---|---|---|---|
| nvd | apache | cayenne | generic | ≤ 3.1.0 · 3.1.1 · 3.1.2 · 3.2:milestone1 · 4.0:beta1 · 4.0:beta2 · 4.0:milestone2 · 4.0:milestone3 · 4.0:milestone4 · 4.0:milestone5 · 4.0:rc1 · 4.1:milestone1 |
| osv | org.apache.cayenne | cayenne-parent | generic | < 3.1.3 · ≥ 4.0 and < 4.1 |
References
Timeline
Timeline
| Published | 2018-08-22 | By the CVE Program. |
|---|---|---|
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |