Skip to content

gqlparser denial of service vulnerability via the parserDirectives function

Moderate severity GitHub Reviewed Published Jun 12, 2024 to the GitHub Advisory Database • Updated Jun 12, 2024

Package

gomod github.com/vektah/gqlparser (Go)

Affected versions

< 2.5.14

Patched versions

2.5.14
gomod github.com/vektah/gqlparser/v2 (Go)
< 2.5.14
2.5.14

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.

References

Published by the National Vulnerability Database Jun 12, 2024
Published to the GitHub Advisory Database Jun 12, 2024
Last updated Jun 12, 2024
Reviewed Jun 12, 2024

Severity

Moderate
5.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Weaknesses

CVE ID

CVE-2023-49559

GHSA ID

GHSA-2hmf-46v7-v6fx

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.