{
  "document": {
    "aggregate_severity": {
      "namespace": "https://access.redhat.com/security/updates/classification/",
      "text": "Moderate"
    },
    "category": "csaf_vex",
    "csaf_version": "2.0",
    "distribution": {
      "text": "Copyright © Red Hat, Inc. All rights reserved.",
      "tlp": {
        "label": "WHITE",
        "url": "https://www.first.org/tlp/"
      }
    },
    "lang": "en",
    "notes": [
      {
        "category": "legal_disclaimer",
        "text": "This content is licensed under the Creative Commons Attribution 4.0 International License (https://creativecommons.org/licenses/by/4.0/). If you distribute this content, or a modified version of it, you must provide attribution to Red Hat Inc. and provide a link to the original.",
        "title": "Terms of Use"
      }
    ],
    "publisher": {
      "category": "vendor",
      "contact_details": "https://access.redhat.com/security/team/contact/",
      "issuing_authority": "Red Hat Product Security is responsible for vulnerability handling across all Red Hat products and services.",
      "name": "Red Hat Product Security",
      "namespace": "https://www.redhat.com"
    },
    "references": [
      {
        "category": "self",
        "summary": "Canonical URL",
        "url": "https://security.access.redhat.com/data/csaf/v2/vex/2014/cve-2014-3004.json"
      }
    ],
    "title": "castor: XML External Entity (XXE) attacks via a crafted XML document",
    "tracking": {
      "current_release_date": "2026-11-05T03:55:21+00:00",
      "generator": {
        "date": "2026-11-05T03:55:21+00:00",
        "engine": {
          "name": "Red Hat SDEngine",
          "version": "5.4.4"
        }
      },
      "id": "CVE-2014-3004",
      "initial_release_date": "2014-05-27T00:00:00+00:00",
      "revision_history": [
        {
          "date": "2014-05-27T00:00:00+00:00",
          "number": "1",
          "summary": "Initial version"
        },
        {
          "date": "2025-04-12T10:52:29+00:00",
          "number": "2",
          "summary": "Current version"
        },
        {
          "date": "2026-11-05T03:55:21+00:00",
          "number": "3",
          "summary": "Last generated version"
        }
      ],
      "status": "final",
      "version": "3"
    }
  },
  "product_tree": {
    "branches": [
      {
        "branches": [
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 5",
                "product": {
                  "name": "Red Hat Enterprise Linux 5",
                  "product_id": "red_hat_enterprise_linux_5",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:5"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 5"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Linux 6",
                "product": {
                  "name": "Red Hat Enterprise Linux 6",
                  "product_id": "red_hat_enterprise_linux_6",
                  "product_identification_helper": {
                    "cpe": "cpe:/o:redhat:rhel_els:6"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Linux 6"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat Enterprise Virtualization 3",
                "product": {
                  "name": "Red Hat Enterprise Virtualization 3",
                  "product_id": "red_hat_enterprise_virtualization_3",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:rhev_v2v:2"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat Enterprise Virtualization 3"
          },
          {
            "branches": [
              {
                "category": "product_name",
                "name": "Red Hat JBoss SOA Platform 4",
                "product": {
                  "name": "Red Hat JBoss SOA Platform 4",
                  "product_id": "red_hat_jboss_soa_platform_4",
                  "product_identification_helper": {
                    "cpe": "cpe:/a:redhat:jboss_soa_platform:4"
                  }
                }
              }
            ],
            "category": "product_family",
            "name": "Red Hat JBoss SOA Platform 4"
          },
          {
            "category": "product_version",
            "name": "castor.src",
            "product": {
              "name": "castor.src",
              "product_id": "castor.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/castor?arch=src"
              }
            }
          },
          {
            "category": "product_version",
            "name": "castor-xml",
            "product": {
              "name": "castor-xml",
              "product_id": "castor-xml",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/castor-xml"
              }
            }
          },
          {
            "category": "product_version",
            "name": "castor-demo",
            "product": {
              "name": "castor-demo",
              "product_id": "castor-demo",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/castor-demo"
              }
            }
          },
          {
            "category": "product_version",
            "name": "castor-javadoc",
            "product": {
              "name": "castor-javadoc",
              "product_id": "castor-javadoc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/castor-javadoc"
              }
            }
          },
          {
            "category": "product_version",
            "name": "castor-test",
            "product": {
              "name": "castor-test",
              "product_id": "castor-test",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/castor-test"
              }
            }
          },
          {
            "category": "product_version",
            "name": "castor-doc",
            "product": {
              "name": "castor-doc",
              "product_id": "castor-doc",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/castor-doc"
              }
            }
          },
          {
            "category": "product_version",
            "name": "jasperreports-server-pro.src",
            "product": {
              "name": "jasperreports-server-pro.src",
              "product_id": "jasperreports-server-pro.src",
              "product_identification_helper": {
                "purl": "pkg:rpm/redhat/jasperreports-server-pro?arch=src"
              }
            }
          }
        ],
        "category": "vendor",
        "name": "Red Hat"
      }
    ],
    "relationships": [
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor.src as a component of Red Hat Enterprise Linux 5",
          "product_id": "red_hat_enterprise_linux_5:castor.src"
        },
        "product_reference": "castor.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_5"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor-demo as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:castor-demo"
        },
        "product_reference": "castor-demo",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor-doc as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:castor-doc"
        },
        "product_reference": "castor-doc",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor-javadoc as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:castor-javadoc"
        },
        "product_reference": "castor-javadoc",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor-test as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:castor-test"
        },
        "product_reference": "castor-test",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor-xml as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:castor-xml"
        },
        "product_reference": "castor-xml",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor.src as a component of Red Hat Enterprise Linux 6",
          "product_id": "red_hat_enterprise_linux_6:castor.src"
        },
        "product_reference": "castor.src",
        "relates_to_product_reference": "red_hat_enterprise_linux_6"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "jasperreports-server-pro.src as a component of Red Hat Enterprise Virtualization 3",
          "product_id": "red_hat_enterprise_virtualization_3:jasperreports-server-pro.src"
        },
        "product_reference": "jasperreports-server-pro.src",
        "relates_to_product_reference": "red_hat_enterprise_virtualization_3"
      },
      {
        "category": "default_component_of",
        "full_product_name": {
          "name": "castor-xml as a component of Red Hat JBoss SOA Platform 4",
          "product_id": "red_hat_jboss_soa_platform_4:castor-xml"
        },
        "product_reference": "castor-xml",
        "relates_to_product_reference": "red_hat_jboss_soa_platform_4"
      }
    ]
  },
  "vulnerabilities": [
    {
      "cve": "CVE-2014-3004",
      "cwe": {
        "id": "CWE-611",
        "name": "Improper Restriction of XML External Entity Reference"
      },
      "discovery_date": "2014-06-12T00:00:00+00:00",
      "ids": [
        {
          "system_name": "Red Hat Bugzilla ID",
          "text": "1108639"
        }
      ],
      "notes": [
        {
          "category": "description",
          "text": "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.",
          "title": "Vulnerability description"
        },
        {
          "category": "summary",
          "text": "castor: XML External Entity (XXE) attacks via a crafted XML document",
          "title": "Vulnerability summary"
        },
        {
          "category": "other",
          "text": "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/.\n\nRed 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/\n\n\nFuse 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/",
          "title": "Statement"
        },
        {
          "category": "general",
          "text": "The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.",
          "title": "CVSS score applicability"
        }
      ],
      "product_status": {
        "known_affected": [
          "red_hat_enterprise_linux_5:castor.src",
          "red_hat_enterprise_linux_6:castor-demo",
          "red_hat_enterprise_linux_6:castor-doc",
          "red_hat_enterprise_linux_6:castor-javadoc",
          "red_hat_enterprise_linux_6:castor-test",
          "red_hat_enterprise_linux_6:castor-xml",
          "red_hat_enterprise_linux_6:castor.src",
          "red_hat_enterprise_virtualization_3:jasperreports-server-pro.src",
          "red_hat_jboss_soa_platform_4:castor-xml"
        ]
      },
      "references": [
        {
          "category": "self",
          "summary": "Canonical URL",
          "url": "https://access.redhat.com/security/cve/CVE-2014-3004"
        },
        {
          "category": "external",
          "summary": "RHBZ#1108639",
          "url": "https://bugzilla.redhat.com/show_bug.cgi?id=1108639"
        },
        {
          "category": "external",
          "summary": "https://www.cve.org/CVERecord?id=CVE-2014-3004",
          "url": "https://www.cve.org/CVERecord?id=CVE-2014-3004"
        },
        {
          "category": "external",
          "summary": "https://nvd.nist.gov/vuln/detail/CVE-2014-3004",
          "url": "https://nvd.nist.gov/vuln/detail/CVE-2014-3004"
        }
      ],
      "release_date": "2014-05-27T00:00:00+00:00",
      "remediations": [
        {
          "category": "workaround",
          "details": "\"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]\n\nAdding the following content in any of the above mentioned configuration files will act as a viable mitigation against this flaw. \n\n> org.exolab.castor.sax.features=\\\n>   http://apache.org/xml/features/disallow-doctype-decl\n> \n> org.exolab.castor.sax.features-to-disable=\\\n>   http://xml.org/sax/features/external-general-entities,\\\n>   http://xml.org/sax/features/external-parameter-entities,\\\n>   http://apache.org/xml/features/nonvalidating/load-external-dtd\n\nNote 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.\n\n[1] http://castor.codehaus.org/conf-lib.html",
          "product_ids": [
            "red_hat_enterprise_linux_5:castor.src",
            "red_hat_enterprise_linux_6:castor-demo",
            "red_hat_enterprise_linux_6:castor-doc",
            "red_hat_enterprise_linux_6:castor-javadoc",
            "red_hat_enterprise_linux_6:castor-test",
            "red_hat_enterprise_linux_6:castor-xml",
            "red_hat_enterprise_linux_6:castor.src",
            "red_hat_enterprise_virtualization_3:jasperreports-server-pro.src",
            "red_hat_jboss_soa_platform_4:castor-xml"
          ]
        },
        {
          "category": "no_fix_planned",
          "details": "Will not fix",
          "product_ids": [
            "red_hat_jboss_soa_platform_4:castor-xml"
          ]
        },
        {
          "category": "none_available",
          "details": "Affected",
          "product_ids": [
            "red_hat_enterprise_linux_5:castor.src",
            "red_hat_enterprise_linux_6:castor-demo",
            "red_hat_enterprise_linux_6:castor-doc",
            "red_hat_enterprise_linux_6:castor-javadoc",
            "red_hat_enterprise_linux_6:castor-test",
            "red_hat_enterprise_linux_6:castor-xml",
            "red_hat_enterprise_linux_6:castor.src",
            "red_hat_enterprise_virtualization_3:jasperreports-server-pro.src"
          ]
        }
      ],
      "scores": [
        {
          "cvss_v2": {
            "accessComplexity": "LOW",
            "accessVector": "NETWORK",
            "authentication": "NONE",
            "availabilityImpact": "NONE",
            "baseScore": 5.0,
            "confidentialityImpact": "PARTIAL",
            "integrityImpact": "NONE",
            "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N",
            "version": "2.0"
          },
          "products": [
            "red_hat_enterprise_linux_5:castor.src",
            "red_hat_enterprise_linux_6:castor-demo",
            "red_hat_enterprise_linux_6:castor-doc",
            "red_hat_enterprise_linux_6:castor-javadoc",
            "red_hat_enterprise_linux_6:castor-test",
            "red_hat_enterprise_linux_6:castor-xml",
            "red_hat_enterprise_linux_6:castor.src",
            "red_hat_enterprise_virtualization_3:jasperreports-server-pro.src",
            "red_hat_jboss_soa_platform_4:castor-xml"
          ]
        }
      ],
      "threats": [
        {
          "category": "impact",
          "details": "Moderate",
          "product_ids": [
            "red_hat_enterprise_linux_5:castor.src",
            "red_hat_enterprise_linux_6:castor-demo",
            "red_hat_enterprise_linux_6:castor-doc",
            "red_hat_enterprise_linux_6:castor-javadoc",
            "red_hat_enterprise_linux_6:castor-test",
            "red_hat_enterprise_linux_6:castor-xml",
            "red_hat_enterprise_linux_6:castor.src",
            "red_hat_enterprise_virtualization_3:jasperreports-server-pro.src",
            "red_hat_jboss_soa_platform_4:castor-xml"
          ]
        }
      ],
      "title": "castor: XML External Entity (XXE) attacks via a crafted XML document"
    }
  ]
}