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

Configuration 1 (hide)

cpe:2.3:a:johannschopplich:nuxt_api_party:*:*:*:*:*:node.js:*:*

History

21 Nov 2024, 08:33

Type Values Removed Values Added
References () https://github.com/johannschopplich/nuxt-api-party/security/advisories/GHSA-q6hx-3m4p-749h - Exploit, Vendor Advisory () https://github.com/johannschopplich/nuxt-api-party/security/advisories/GHSA-q6hx-3m4p-749h - Exploit, Vendor Advisory

13 Dec 2023, 17:30

Type Values Removed Values Added
New CVE

Information

Published : 2023-12-09 00:15

Updated : 2024-11-21 08:33


NVD link : CVE-2023-49800

Mitre link : CVE-2023-49800

CVE.ORG link : CVE-2023-49800


JSON object : View

Products Affected

johannschopplich

  • nuxt_api_party
CWE
CWE-400

Uncontrolled Resource Consumption

CWE-674

Uncontrolled Recursion

CWE-787

Out-of-bounds Write