{"id":"GHSA-2fw4-mgq9-39cx","summary":"Code Injection in oauth2-server","details":"\"oauth2-server (aka node-oauth2-server) through 3.1.1 implements OAuth 2.0 without PKCE. It does not prevent authorization code injection. This is similar to CVE-2020-7692. NOTE: the vendor states 'As RFC7636 is an extension, I think the claim in the Readme of \"RFC 6749 compliant\" is valid and not misleading and I also therefore wouldn't describe this as a \"vulnerability\" with the library per se.'\"","aliases":["CVE-2017-18924"],"modified":"2023-11-08T03:59:16.711691Z","published":"2021-04-22T15:53:45Z","database_specific":{"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2021-04-21T21:15:38Z","nvd_published_at":"2020-10-04T05:15:00Z","cwe_ids":["CWE-94"]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2017-18924"},{"type":"WEB","url":"https://github.com/oauthjs/node-oauth2-server/issues/637"},{"type":"WEB","url":"https://github.com/oauthjs/node-oauth2-server/pull/452"},{"type":"WEB","url":"https://codeburst.io/missing-the-point-in-securing-oauth-2-0-83968708b467"},{"type":"WEB","url":"https://tools.ietf.org/html/draft-ietf-oauth-security-topics-15"},{"type":"WEB","url":"https://tools.ietf.org/html/rfc7636"}],"affected":[{"package":{"name":"oauth2-server","ecosystem":"npm","purl":"pkg:npm/oauth2-server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"3.1.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2021/04/GHSA-2fw4-mgq9-39cx/GHSA-2fw4-mgq9-39cx.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}