GHSA-9w87-4j72-gcv7

Suggest an improvement
Source
https://github.com/advisories/GHSA-9w87-4j72-gcv7
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9w87-4j72-gcv7/GHSA-9w87-4j72-gcv7.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-9w87-4j72-gcv7
Published
2020-09-02T18:27:54Z
Modified
2020-08-31T18:37:32Z
Summary
Insecure Default Configuration in graphql-code-generator
Details

Versions of graphql-code-generator prior to 0.18.2 have an Insecure Default Configuration. The packages sets NODE_TLS_REJECT_UNAUTHORIZED to 0, disabling certificate verification for the entire project. This results in Insecure Communication for the process.

Recommendation

Upgrade to version 0.18.2 or later.

Database specific
{
    "cwe_ids": [],
    "github_reviewed": true,
    "github_reviewed_at": "2020-08-31T18:37:32Z",
    "nvd_published_at": null,
    "severity": "HIGH"
}
References

Affected packages

npm / graphql-code-generator

Package

Name
graphql-code-generator
View open source insights on deps.dev
Purl
pkg:npm/graphql-code-generator

Affected ranges

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

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-9w87-4j72-gcv7/GHSA-9w87-4j72-gcv7.json"