Description
An issue in vektah gqlparser open-source-library v.2.5.10 allows a remote attacker to cause a denial of service via a crafted script to the parserDirectives function.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | dagger | 0.11.7-r1 | — |
| Wolfi rolling | guac +4 | 0.7.2-r2 | — |
| Wolfi rolling | melange | 0.8.6-r1 | — |
| Wolfi rolling | zot | 2.0.4-r6 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/vektah/gqlparser | < 2.5.14 | 2.5.14 | GHSA-2hmf-46v7-v6fx |
| Go | github.com/vektah/gqlparser | all versions | — | GO-2024-2920 |
| Go | github.com/vektah/gqlparser/v2 | < 2.5.14 | 2.5.14 | GHSA-2hmf-46v7-v6fx |