{"id":"CVE-2023-49800","published":"2023-12-08T23:41:55Z","modified":"2024-08-02T22:01:26Z","title":"Denial of service by abusing `fetchOptions.retry` in nuxt-api-party","vendor":"johannschopplich","product":"nuxt-api-party","tier":"tail","description":{"text":"`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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00804,"percentile":0.57651,"provenance":"source"},"cwes":[{"id":"CWE-674","name":"Uncontrolled Recursion"},{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/johannschopplich/nuxt-api-party/security/advisories/GHSA-q6hx-3m4p-749h","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":11.53},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"johannschopplich","affectedVersions":[{"vendor":"johannschopplich","product":"nuxt-api-party","versions":["< 0.22.1"]}],"affected":[{"ecosystem":"npm","package":"nuxt-api-party","vulnerableRanges":["<0.22.1"],"patched":["0.22.1"],"from":["GHSA-q6hx-3m4p-749h"],"provenance":"source"}],"summary":{"text":"The nuxt-api-party module, an open source Nuxt library by johannschopplich that proxies API requests, passes client-supplied fetchOptions straight through to the underlying ofetch client without filtering which options are allowed, so the retry behaviour can be controlled by the requester. An unauthenticated remote attacker over the network can send a request whose URL is known to fail and set a high retry count, causing ofetch's recursive error handling to overflow the stack and crash the server, with no user interaction or special configuration required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:00:15Z"},"euvd":{"id":"EUVD-2023-3268","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-49799","published":"2023-12-08","fixed":"0.22.0","kev":false,"link":{"from":"CVE-2023-49799","to":"CVE-2023-49800","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:nuxt-api-party","fromFixed":"0.22.0","toFixed":"0.22.1","daysApart":0},{"kind":"similar","provenance":"machine","score":0.22,"basis":"same product + description similarity"}]}},{"cve":"CVE-2023-49800","published":"2023-12-08","fixed":"0.22.1","kev":false}],"package":"npm:nuxt-api-party"}}