In JetBrains TeamCity before 2020.2.3, insufficient checks of the redirect_uri were made during GitHub SSO token exchange.
https://euvd.enisa.europa.eu/vulnerability/EUVD-2021-18788
https://blog.jetbrains.com/blog/2021/05/07/jetbrains-security-bulletin-q1-2021/