Advisory

GHSA-9w87-4j72-gcv7

Also known as: None

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2020-09-02 18:27 UTC
Modified
2020-08-31 18:37 UTC

Affected packages and fixes

graphql-code-generator

npm · All systems

Affected

  • introduced 0, fixed 0.18.2 (semver)

Fixed versions

0.18.2

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences