High severity · published Dec 8, 2023
CVE-2023-49800
Denial of service by abusing `fetchOptions.retry` in nuxt-api-party
7.5
CVSS
0.8%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.8% · higher than 57% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
NU
nuxt-api-party · johannschopplich
< 0.22.1 · source: vendor
NA
Nuxt Api Party · Johannschopplich
through 0.21.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-49800
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-49800
Exploit
https://github.com/johannschopplich/nuxt-api-party/security/advisories/GHSA-q6hx-3m4p-749h
More from nuxt-api-party
7.5
CVE-2023-49799
Server-Side Request Forgery in nuxt-api-party
