cve.bz

CVE-2014-3004

no score yetExploitEPSS 9.1%Fix available

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
The default configuration for the Xerces SAX Parser in Castor before 1.3.3 allows context-dependent attackers to conduct XML External Entity (XXE) attacks via a crafted XML document.
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 promptExplain 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.

ProductAffected
castor_project:castorthrough 1.3.2
castor_project:castor1.3
castor_project:castor1.3.1
opensuse:opensuse13.1
opensuse_project:opensuse12.3

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jwwr-fjgh-cv2xMavenorg.codehaus.castor:castor<1.3.31.3.3
GHSA-jwwr-fjgh-cv2xMavencastor:castor<=1.0no fix published

Linux distributions

DistributionReleasePackageFixed inAdvisory
Ubuntu16.04:LTS, 18.04:LTS, 20.04:LTS and 5 morecastorno fix listedUBUNTU-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.

Red Hat's statement

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/

Red Hat's mitigation

"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

ProductPackageStateAdvisory
Red Hat Enterprise Linux 5castorAffected
Red Hat Enterprise Linux 6castorAffected
Red Hat Enterprise Virtualization 3jasperreports-server-proAffected
Red Hat JBoss SOA Platform 4castor-xmlWill 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

Check your stackJSON