{"id":"CVE-2023-2193","summary":"Oauth authorization codes do not expire when deauthorizing an oauth2 app","details":"Mattermost fails to invalidate existing authorization codes when deauthorizing an OAuth2 app, allowing an attacker possessing an authorization code to generate an access token.\n","modified":"2026-08-27T03:30:34.514568621Z","published":"2023-04-20T08:17:04.731Z","database_specific":{"cna_assigner":"Mattermost","cwe_ids":["CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2193.json","unresolved_ranges":[{"extracted_events":[{"last_affected":"7.1.7"},{"last_affected":"7.7.3"},{"last_affected":"7.8.2"},{"last_affected":"7.9.1"}],"source":"AFFECTED_FIELD"}]},"references":[{"type":"WEB","url":"https://mattermost.com/security-updates/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2193.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2193"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mattermost/mattermost","events":[{"introduced":"cb617a246c0df27429899645f23d1c2e41d611d9"},{"last_affected":"6bcbd64dca8fec945c7abb83ba58c7b68abffa86"}],"database_specific":{"source":"CPE_STRING","cpe":["cpe:2.3:a:mattermost:mattermost:7.1.7:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost:7.7.3:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost:7.8.2:*:*:*:*:*:*:*","cpe:2.3:a:mattermost:mattermost:7.9.1:*:*:*:*:*:*:*"],"extracted_events":[{"introduced":"7.1.7"},{"last_affected":"7.1.7"},{"introduced":"7.7.3"},{"last_affected":"7.7.3"},{"introduced":"7.8.2"},{"last_affected":"7.8.2"},{"introduced":"7.9.1"},{"last_affected":"7.9.1"}]}}],"versions":["7.1.7","7.7.3","7.8.2","7.9.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-2193.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}