Skip to content
OpenAdvisories
High GHSA-9w87-4j72-gcv7

Insecure Default Configuration in graphql-code-generator

Published Sep 2, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

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.

Affected packages

EcosystemPackageAffectedFixedRecord
npm graphql-code-generator < 0.18.2 0.18.2 GHSA-9w87-4j72-gcv7

References