ADVISORIES

GitHub Advisory Database

GHSA-g36m-9g3m-2vmp

Apache Neethi is vulnerable to a Denial of Service attack through algorithmic complexity in policy normalization

Details

Apache Neethi is vulnerable to a Denial of Service attack through algorithmic complexity in policy normalization. Specially crafted WS-Policy documents can trigger an exponential Cartesian cross-product expansion during the normalization process, causing unbounded memory allocation that exhausts the JVM heap. This occurs when the normalization process generates an excessive number of policy alternatives without bounds, leading to runtime memory exhaustion.

Users should upgrade to 3.2.2 which limits the maximum number of normalized policy alternatives.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.neethi:neethi
All versions before 3.2.2 (fixed in 3.2.2)

References