GO-2024-2920

Source
https://pkg.go.dev/vuln/GO-2024-2920
Import Source
https://vuln.go.dev/ID/GO-2024-2920.json
JSON Data
https://api.osv.dev/v1/vulns/GO-2024-2920
Aliases
Published
2024-07-01T19:59:12Z
Modified
2024-07-15T22:12:26.745608Z
Summary
Denial of service vulnerability via the parseDirectives function in github.com/vektah/gqlparser
Details

An issue in vektah gqlparser open-source-library allows a remote attacker to cause a denial of service via a crafted script to the parseDirectives function.

Database specific
{
    "review_status": "REVIEWED",
    "url": "https://pkg.go.dev/vuln/GO-2024-2920"
}
References

Affected packages

Go / github.com/vektah/gqlparser

Package

Name
github.com/vektah/gqlparser
View open source insights on deps.dev
Purl
pkg:golang/github.com/vektah/gqlparser

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/vektah/gqlparser/parser",
            "symbols": [
                "ParseQuery",
                "ParseSchema",
                "ParseSchemas",
                "parser.parseDirectives"
            ]
        }
    ]
}

Go / github.com/vektah/gqlparser/v2

Package

Name
github.com/vektah/gqlparser/v2
View open source insights on deps.dev
Purl
pkg:golang/github.com/vektah/gqlparser/v2

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.5.14

Ecosystem specific

{
    "imports": [
        {
            "path": "github.com/vektah/gqlparser/v2/parser",
            "symbols": [
                "ParseQuery",
                "ParseSchema",
                "ParseSchemas",
                "parser.parseDirectives"
            ]
        }
    ]
}