CVE-2023-50714: The Oauth2 PKCE implementation is vulnerable

Published Dec 18, 2023
·
Updated

Impact What kind of vulnerability is it? Who is impacted?

Original Report:

> The Oauth2 PKCE implementation is vulnerable in 2 ways: > 1. The authCodeVerifier should be removed after usage (similar to 'authState') > 2. There is a risk for a "downgrade attack" if PKCE is being relied on for CSRF protection.

Patches Has the problem been patched? What versions should users upgrade to?

2.2.15

Workarounds Is there a way for users to fix or remediate the vulnerability without upgrading?

not known yet.

References Are there any links users can visit to find out more?

Other sources

yii2-authclient is an extension that adds OpenID, OAuth, OAuth2 and OpenId Connect consumers for the Yii framework 2.0. In yii2-authclient prior to version 2.2.15, the Oauth2 PKCE implementation is vulnerable in 2 ways. First, the authCodeVerifier should be removed after usage (similar to authState). Second, there is a risk for a downgrade attack if PKCE is being relied on for CSRF protection. Version 2.2.15 contains a patch for the issue. No known workarounds are available.

Affected Software

2 affected componentsFixes available
composer/yiisoft/yii2-authclient<2.2.15
2.2.15
Yiiframework Yii2-authclient<2.2.15

Event History

Dec 18, 2023
Advisory Published
07:34 PM
Dec 22, 2023
CVE Published
via MITRE·06:30 PM
Data Sourced
via MITRE·06:30 PM
DescriptionSeverityWeakness
Data Sourced
07:15 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-50714?

CVE-2023-50714 is classified with a moderate severity due to vulnerabilities in the Oauth2 PKCE implementation.

2

How do I fix CVE-2023-50714?

To remediate CVE-2023-50714, upgrade to version 2.2.15 or later of the yii2-authclient package.

3

What types of attacks are possible with CVE-2023-50714?

CVE-2023-50714 is susceptible to downgrading attacks due to improper handling of the authCodeVerifier.

4

Which versions of yii2-authclient are affected by CVE-2023-50714?

CVE-2023-50714 affects all versions of the yii2-authclient package up to version 2.2.15.

5

Who is primarily impacted by CVE-2023-50714?

Developers using the yii2-authclient package for Oauth2 PKCE authentication are primarily impacted by CVE-2023-50714.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203