PT-2024-32396 · Unknown+1 · Strawberry Graphql+1
Speedy1991
·
Published
2024-09-25
·
Updated
2024-10-01
·
CVE-2024-47082
CVSS v3.1
8.0
High
| Vector | AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Strawberry GraphQL versions prior to 0.243.0
Description
The issue concerns Strawberry GraphQL, a library for creating GraphQL APIs. Prior to version 0.243.0, multipart file upload support was enabled by default in all Strawberry HTTP view integrations, making them vulnerable to cross-site request forgery (CSRF) attacks if users did not explicitly enable CSRF preventing security mechanisms for their servers. The Django HTTP view integration had an exemption for Django's built-in CSRF protection by default, making all Strawberry integrations vulnerable to CSRF attacks by default.
Recommendations
For versions prior to 0.243.0, update to version 0.243.0 or later to resolve the issue. As a temporary workaround, consider disabling multipart file upload support in Strawberry HTTP view integrations until a patch is applied. Restrict access to the Django HTTP view integration to minimize the risk of exploitation. Avoid relying solely on Django's built-in CSRF protection for the Django HTTP view integration.
Exploit
Fix
CSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Django
Strawberry Graphql