CVE-2023-49800CWE-400CWE-674

Denial of service by abusing `fetchOptions.retry` in nuxt-api-party

High · published December 8, 2023

CVSS v3.1
7.5
EPSS
1%
Percentile
56.3
In the wild
Unconfirmed
What it is

`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.

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00804 · 56.3th percentile
Weaknesses
CWE-400 · Uncontrolled Resource Consumption; CWE-674 · Uncontrolled Recursion
Published
2023-12-08T23:41Z
EPSS history
Timeline
  • 08 DEC 23:41Z
    Denial of service by abusing `fetchOptions.retry` in nuxt-api-party
    cvelistv5