{"id":"GHSA-9w87-4j72-gcv7","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.2 or later.","modified":"2020-08-31T18:37:32Z","published":"2020-09-02T18:27:54Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2020-08-31T18:37:32Z","nvd_published_at":null,"cwe_ids":[],"severity":"HIGH"},"references":[{"type":"WEB","url":"https://github.com/dotansimha/graphql-code-generator/issues/1806"},{"type":"WEB","url":"https://www.npmjs.com/advisories/834"}],"affected":[{"package":{"name":"graphql-code-generator","ecosystem":"npm","purl":"pkg:npm/graphql-code-generator"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"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"}}],"schema_version":"1.9.0"}