Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7mpv-9xg6-5r79

Опубликовано: 07 апр. 2025
Источник: github
Github: Прошло ревью
CVSS3: 7.5

Описание

Apollo Compiler Named Fragment Processing Vulnerability

Impact

Summary

A vulnerability in Apollo Compiler allowed queries with deeply nested and reused named fragments to be prohibitively expensive to validate. This could lead to excessive resource consumption and denial of service in applications.

Details

Named fragments were being processed once per fragment spread in some cases during query validation, leading to exponential resource usage when deeply nested and reused fragments were involved.

Fix/Mitigation

The validation logic has been updated to process each named fragment only once, preventing redundant traversal.

Patches

This has been remediated in apollo-compiler version 1.27.0.

Workarounds

No known direct workarounds exist.

Acknowledgements

We appreciate the efforts of the security community in identifying and improving the performance and security of query validation mechanisms.

Пакеты

Наименование

apollo-compiler

rust
Затронутые версииВерсия исправления

< 1.27.0

1.27.0

EPSS

Процентиль: 60%
0.00399
Низкий

7.5 High

CVSS3

Дефекты

CWE-770

Связанные уязвимости

CVSS3: 7.5
nvd
10 месяцев назад

apollo-compiler is a query-based compiler for the GraphQL query language. Prior to 1.27.0, a vulnerability in Apollo Compiler allowed queries with deeply nested and reused named fragments to be prohibitively expensive to validate. Named fragments were being processed once per fragment spread in some cases during query validation, leading to exponential resource usage when deeply nested and reused fragments were involved. This could lead to excessive resource consumption and denial of service in applications. This vulnerability is fixed in 1.27.0.

EPSS

Процентиль: 60%
0.00399
Низкий

7.5 High

CVSS3

Дефекты

CWE-770