GitHub Advisoryadvisory · Maven

GHSA-3f7h-mf4q-vrm4 Denial of Service due to parser crash

MEDIUM Published 2022-09-17 Modified 2025-05-23 Official page ↗
Aliases
CVE-2022-40152
Ecosystem
Maven
Packages
com.fasterxml.woodstox:woodstox-core
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-121, CWE-787
Reviewed
2022-09-20

Affected packages

• Maven com.fasterxml.woodstox:woodstox-core: >= 6.0.0, < 6.4.0 → fixed in 6.4.0 • Maven com.fasterxml.woodstox:woodstox-core: < 5.4.0 → fixed in 5.4.0

Description

Those using FasterXML/woodstox to seralize XML data may be vulnerable to Denial of Service attacks (DOS). If the parser is running on user supplied input, an attacker may supply content that causes the parser to crash by stackoverflow. This effect may support a denial of service attack. This vulnerability is only relevant for users making use of the DTD parsing functionality.

Related

Alias · CVE (1)

  • CVE-2022-40152 Those using Woodstox to parse XML data may be vulnerable to Denial of Service attacks (DOS) if DTD support is enabled. vulnerability

Weakness · CWE (2)

  • CWE-121 Stack-based Buffer Overflow weakness
  • CWE-787 Out-of-bounds Write weakness

References