CVE-2024-47082

Strawberry GraphQL is a library for creating GraphQL APIs. Prior to version 0.243.0, multipart file upload support as defined in the GraphQL multipart request specification was enabled by default in all Strawberry HTTP view integrations. This made all Strawberry HTTP view integrations vulnerable to cross-site request forgery (CSRF) attacks if users did not explicitly enable CSRF preventing security mechanism for their servers. Additionally, the Django HTTP view integration, in particular, had an exemption for Django's built-in CSRF protection (i.e., the `CsrfViewMiddleware` middleware) by default. In affect, all Strawberry integrations were vulnerable to CSRF attacks by default. Version `v0.243.0` is the first `strawberry-graphql` including a patch.
Configurations

Configuration 1 (hide)

cpe:2.3:a:strawberryrocks:strawberry:*:*:*:*:*:*:*:*

History

01 Oct 2024, 20:01

Type Values Removed Values Added
References () https://github.com/strawberry-graphql/strawberry/commit/37265b230e511480a9ceace492f9f6a484be1387 - () https://github.com/strawberry-graphql/strawberry/commit/37265b230e511480a9ceace492f9f6a484be1387 - Patch
References () https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-79gp-q4wv-33fr - () https://github.com/strawberry-graphql/strawberry/security/advisories/GHSA-79gp-q4wv-33fr - Vendor Advisory
References () https://strawberry.rocks/docs/breaking-changes/0.243.0 - () https://strawberry.rocks/docs/breaking-changes/0.243.0 - Release Notes
First Time Strawberryrocks strawberry
Strawberryrocks
CPE cpe:2.3:a:strawberryrocks:strawberry:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 4.6
v2 : unknown
v3 : 8.0

26 Sep 2024, 13:32

Type Values Removed Values Added
Summary
  • (es) Strawberry GraphQL es una librería para crear API de GraphQL. Antes de la versión 0.243.0, la compatibilidad con la carga de archivos multiparte, tal como se define en la especificación de solicitud multiparte de GraphQL, estaba habilitada de forma predeterminada en todas las integraciones de vistas HTTP de Strawberry. Esto hacía que todas las integraciones de vistas HTTP de Strawberry fueran vulnerables a ataques de Cross-Site Request Forgery (CSRF) si los usuarios no habilitaban explícitamente el mecanismo de seguridad para evitar CSRF en sus servidores. Además, la integración de vistas HTTP de Django, en particular, tenía una exención para la protección CSRF incorporada de Django (es decir, el middleware `CsrfViewMiddleware`) de forma predeterminada. En efecto, todas las integraciones de Strawberry eran vulnerables a ataques CSRF de forma predeterminada. La versión `v0.243.0` es la primera `strawberry-graphql` que incluye un parche.

25 Sep 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-25 18:15

Updated : 2024-10-01 20:01


NVD link : CVE-2024-47082

Mitre link : CVE-2024-47082

CVE.ORG link : CVE-2024-47082


JSON object : View

Products Affected

strawberryrocks

  • strawberry
CWE
CWE-352

Cross-Site Request Forgery (CSRF)