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.
Published: 2023-12-08
Score: 7.5 High
EPSS: 1.1% Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2023-3268 `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.
Github GHSA Github GHSA GHSA-q6hx-3m4p-749h DOS by abusing `fetchOptions.retry`.
History

No history.

Subscriptions

Johannschopplich Nuxt Api Party
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2024-08-02T22:01:26.234Z

Reserved: 2023-11-30T13:39:50.864Z

Link: CVE-2023-49800

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Modified

Published: 2023-12-09T00:15:07.653

Modified: 2024-11-21T08:33:52.147

Link: CVE-2023-49800

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses