GHSA-52mm-32rv-3rpg
Unauthenticated remote use-after-free in graphql-c_parser
Severidad por fuente
Ninguna fuente da una puntuación CVSS.
La etiqueta propia de Trivy es CRITICAL. Crítica según Ruby Advisory DB.
Descripción
Use-after-free is possible graphql-c_parser if Bison moves GraphQL-Ruby AST nodes into the heap. Bison's heap is not scanned by Ruby's garbage collector, so if GC runs during this stage, Ruby determines those objects to be dead. Later, however, graphql-c_parser uses those objects again while continuing to parse. Patched versions use Bison's YYSTACK_USE_ALLOCA 1 configuration to use stack memory instead. This issue was reported by PlatformSecurity.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| rubygems::Ruby Advisory Database | graphql-c_parser | >= 1.1.4 |