GHSA-8gwc-x7mg-7p7p

    Dashboard / Vulnerabilities / GHSA-8gwc-x7mg-7p7p

    GHSA-8gwc-x7mg-7p7p

    Published: 14 May 2022Last Modified: 10 Sept 2026
    Aliases:

    Summary: Apache XML Security For Java vulnerable to Infinite Loop

    Details: Affected versions of xmlsec are subject to a denial of service vulnerability. Should a user check the signature of a message larger than 512 MB, the method `expandSize(int newPos)` of class `org.apache.xml.security.utils.UnsyncByteArrayOutputStream` goes in an endless loop. A remote attacker could use this flaw to supply crafted XML that would lead to a denial of service.

    Affected packages

    Package

    Name: org.apache.santuario:xmlsec

    Purl: pkg:maven/org.apache.santuario/xmlsec

    Affected ranges

    Type: ECOSYSTEM

    Events:

    Introduced- 1.4.0
    Fixed -1.4.8

    Affected versions

    1.4.0
    1.4.1
    1.4.2
    1.4.3
    1.4.4
    1.4.5
    1.4.6
    1.4.7

    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-8gwc-x7mg-7p7p | CVE-DB