GHSA-9w87-4j72-gcv7 json
Insecure Default Configuration in graphql-code-generator
published 6y ago modified 6y ago
- cvss
- —
- not scored
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- —
- no score, EPSS covers CVEs only
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm graphql-code-generator 0.18.2
Is GHSA-9w87-4j72-gcv7 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerAffected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | graphql-code-generator | <0.18.2 |
0.18.2 |
References
Sources
- GitHub Advisory GHSA-9w87-4j72-gcv7
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.