Buffer overflow in Johannschopplich Nuxt-Api-Party

CVE-2023-49800

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

Vulnerability class: DoS (Denial of Service)

EPSS: 0.008 (53.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2023-49800?
CVE-2023-49800 is a high-severity vulnerability in Johannschopplich Nuxt-Api-Party, classified under Uncontrolled Resource Consumption. CVSS score: 7.5/10. Published 2023-12-09.
How severe is CVE-2023-49800?
High severity. CVSS v3 base score is 7.5 out of 10.
Is CVE-2023-49800 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.