CVE-2014-3004
No CVSS score yet. EPSS 9.1% estimated probability of exploitation activity in the next 30 days. Fixed in org.codehaus.castor:castor 1.3.3.
On this page
- EPSS
- 9.1% (unchanged from 9.1% a week ago; 9.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 95th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- CWE
- CWE-611 Improper Restriction of XML External Entity Reference
- OWASP Top 10
- A02:2025 Security Misconfiguration
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
org.codehaus.castor:castor(Maven): fixed in 1.3.3
Ask an AI about this CVE
Show the prompt
Explain CVE-2014-3004 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2014-3004?via=ask-ai-copy and https://cve.bz/cve/CVE-2014-3004?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2014-3004 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| castor_project:castor | through 1.3.2 |
| castor_project:castor | 1.3 |
| castor_project:castor | 1.3.1 |
| opensuse:opensuse | 13.1 |
| opensuse_project:opensuse | 12.3 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-jwwr-fjgh-cv2x | Maven | org.codehaus.castor:castor | <1.3.3 | 1.3.3 |
| GHSA-jwwr-fjgh-cv2x | Maven | castor:castor | <=1.0 | no fix published |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 5 more | castor | no fix listed | UBUNTU-CVE-2014-3004 |
From the distributions' data via OSV.dev: Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Ubuntu.
Red Hat
Red Hat rates this Moderate.
This issue affects the version of castor as shipped with Red Hat Enterprise Linux 5 and 6. The Red Hat Security Response Team has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Red Hat JBoss SOA Platform 4 is now in Phase 3, Extended Life Support, of its life cycle. This issue has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat JBoss Middleware and Red Hat JBoss Operations Network Product Update and Support Policy: https://access.redhat.com/support/policy/updates/jboss_notes/
Fuse ESB Enterprise 7 is now in Maintenance Support phase receiving only qualified Important and Critical impact security fixes. This issue has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Fuse Product Life Cycle: https://access.redhat.com/support/policy/updates/fusesource/
"A configuration file in the Java library directory (e.g. /jdk1.2/lib) can be used to override the default configuration file with system-wide properties. In addition, a configuration file can be placed in the classpath and will override both the system wide properties and Castor-default configuration." [1]
Adding the following content in any of the above mentioned configuration files will act as a viable mitigation against this flaw.
> org.exolab.castor.sax.features=\
> http://apache.org/xml/features/disallow-doctype-decl
>
> org.exolab.castor.sax.features-to-disable=\
> http://xml.org/sax/features/external-general-entities,\
> http://xml.org/sax/features/external-parameter-entities,\
> http://apache.org/xml/features/nonvalidating/load-external-dtd
Note that using this configuration after upgrading to a version of Castor containing a fix for this issue might override any future hardening or changes to default behavior.
[1] http://castor.codehaus.org/conf-lib.html
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 5 | castor | Affected | |
| Red Hat Enterprise Linux 6 | castor | Affected | |
| Red Hat Enterprise Virtualization 3 | jasperreports-server-pro | Affected | |
| Red Hat JBoss SOA Platform 4 | castor-xml | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2014-3004.
Public exploits
Attack patterns (CAPEC)
- CAPEC-221 Data Serialization External Entities Blowup
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.
References
- http://lists.opensuse.org/opensuse-updates/2014-06/msg00043.html
- http://packetstormsecurity.com/files/126854/Castor-Library-XXE-Disclosure.html
- http://seclists.org/fulldisclosure/2014/May/142
- http://secunia.com/advisories/59427
- http://www.securityfocus.com/bid/67676
- https://quickview.cloudapps.cisco.com/quickview/bug/CSCvm56811
- https://www.oracle.com/security-alerts/cpujan2020.html
- https://www.oracle.com/security-alerts/cpuoct2021.html