GHSA-2363-cqg2-863c

    Dashboard / Vulnerabilities / GHSA-2363-cqg2-863c

    GHSA-2363-cqg2-863c

    Published: 27 Jul 2021Last Modified: 16 Sept 2025

    Summary: XML External Entity (XXE) Injection in JDOM

    Details: An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of service via a crafted HTTP request. As a workaround, to avoid external entities being expanded, one can call `builder.setExpandEntities(false)` and they won't be expanded.

    References: https://nvd.nist.gov/vuln/detail/CVE-2021-33813, https://github.com/hunterhacker/jdom/issues/189, https://github.com/hunterhacker/jdom/pull/188, https://github.com/hunterhacker/jdom/commit/dd4f3c2fc7893edd914954c73eb577f925a7d361, https://www.oracle.com/security-alerts/cpujul2022.html, https://www.oracle.com/security-alerts/cpuapr2022.html, https://lists.fedoraproject.org/archives/list/[email protected]/message/EWFVYTHGILOQXUA7U3SPOERQXL7OPSZG, https://lists.fedoraproject.org/archives/list/[email protected]/message/AH46QHE5GIMT6BL6C3GDTOYF27JYILXM, https://lists.debian.org/debian-lts-announce/2021/07/msg00012.html, https://lists.debian.org/debian-lts-announce/2021/06/msg00026.html, https://lists.apache.org/thread.html/rfb7a93e40ebeb1e0068cde0bf3834dcab46bb1ef06d6424db48ed9fd@%3Cdev.tika.apache.org%3E, https://lists.apache.org/thread.html/rbc075a4ac85e7a8e47420b7383f16ffa0af3b792b8423584735f369f@%3Cissues.solr.apache.org%3E, https://lists.apache.org/thread.html/r9974f64723875052e02787b2a5eda689ac5247c71b827d455e5dc9a6@%3Cissues.solr.apache.org%3E, https://lists.apache.org/thread.html/r89b3800cfabb1e773e49425e5d4239c28a659839a2eca6af3431482e@%3Cissues.solr.apache.org%3E, https://lists.apache.org/thread.html/r845e987b7cd8efe610284958e997b84583f5a98d3394adc09e3482fe@%3Cissues.solr.apache.org%3E, https://lists.apache.org/thread.html/r6db397ae7281ead825338200d1f62d2827585a70797cc9ac0c4bd23f@%3Cissues.solr.apache.org%3E, https://lists.apache.org/thread.html/r5674106135bb1a6ef57483f4c63a9c44bca85d0e2a8a05895a8f1d89@%3Cissues.solr.apache.org%3E, https://lists.apache.org/thread.html/r21c406c7ed88fe340db7dbae75e58355159e6c324037c7d5547bf40b@%3Cissues.solr.apache.org%3E, https://github.com/hunterhacker/jdom/releases/tag/JDOM-2.0.6.1, https://github.com/hunterhacker/jdom/releases, https://github.com/hunterhacker/jdom, https://alephsecurity.com/vulns/aleph-2021003

    Affected packages

    Package

    Name: org.jdom:jdom2

    Purl: pkg:maven/org.jdom/jdom2

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 0
    Fixed -2.0.6.1

    Affected versions

    0.0.2-BETA
    0.0.3-BETA
    0.0.4-BETA
    0.0.5-BETA
    0.0.6-BETA

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High
    GHSA-2363-cqg2-863c | CVE-DB