GitHub Advisoryadvisory · Maven

GHSA-xqcq-j8w9-3pxv Jettison parser crash by stackoverflow

MEDIUM Published 2023-08-01 Modified 2023-08-01 Official page ↗
Ecosystem
Maven
Packages
com.tencyle.fixes:org.codehaus.jettison--jettison
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
2023-08-01

Affected packages

• Maven com.tencyle.fixes:org.codehaus.jettison--jettison: 1.1-tencyle-2.1.0 (no fix yet)

Description

Those using Jettison to parse untrusted XML or JSON 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. References • https://nvd.nist.gov/vuln/detail/CVE-2022-40149 • https://github.com/jettison-json/jettison/issues/45 • https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=46538 • https://github.com/jettison-json/jettison/pull/49/files • https://github.com/jettison-json/jettison/releases/tag/jettison-1.5.1 • https://lists.debian.org/debian-lts-announce/2022/11/msg00011.html • https://www.debian.org/security/2023/dsa-5312

Related

Weakness · CWE (2)

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

References