{"id":"GHSA-9w87-4j72-gcv7","aliases":[],"status":"published","title":"Insecure Default Configuration in graphql-code-generator","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.2 or later.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"published":"2020-09-02T18:27:54Z","modified":"2023-01-09T05:03:55Z","fixes":[{"ecosystem":"npm","package":"graphql-code-generator","fixed_in":["0.18.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"graphql-code-generator","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.18.2"}]}]},{"source":"osv","ecosystem":"npm","package":"graphql-code-generator","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.18.2"}]}]}],"references":[{"url":"https://github.com/dotansimha/graphql-code-generator/issues/1806","tags":["web"]},{"url":"https://www.npmjs.com/advisories/834","tags":["web"]},{"url":"https://github.com/advisories/GHSA-9w87-4j72-gcv7"}],"sources":{"ghsa":[{"id":"GHSA-9w87-4j72-gcv7","title":"Insecure Default Configuration in graphql-code-generator","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.2 or later.","status":"published","published":"2020-09-02T18:27:54Z","modified":"2023-01-09T05:03:55Z","updated_at":"2026-11-02T14:36:07.581563Z"}],"osv":[{"id":"GHSA-9w87-4j72-gcv7","title":"Insecure Default Configuration in graphql-code-generator","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.\n\n\n## Recommendation\n\nUpgrade to version 0.18.2 or later.","status":"published","published":"2020-09-02T18:27:54Z","modified":"2020-08-31T18:37:32Z","updated_at":"2026-11-02T15:46:44.225359Z"}]}}
