Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. graphql-code-generator
  4. ›
  5. GMS-2020-278

GMS-2020-278: Insecure Default Configuration in graphql-code-generator

September 2, 2020

Versions of graphql-code-generator 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.

References

  • github.com/advisories/GHSA-9w87-4j72-gcv7
  • github.com/dotansimha/graphql-code-generator/issues/1806
  • www.npmjs.com/advisories/834

Code Behaviors & Features

Detect and mitigate GMS-2020-278 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 0.18.2

Fixed versions

  • 0.18.2

Solution

Upgrade to version 0.18.2 or above.

Source file

npm/graphql-code-generator/GMS-2020-278.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:15 +0000.