{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2023-50708","id":"CVE-2023-50708","title":"yii2-authclient vulnerable to possible timing attack on string comparison in OAuth1, OAuth2 and OpenID Connect implementation","description":"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 Oauth1/2 `state` and OpenID Connect `nonce` is vulnerable for a `timing attack` since it is compared via regular string comparison (instead of `Yii::$app->getSecurity()->compareString()`). Version 2.2.15 contains a patch for the iss","descriptionLong":"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 Oauth1/2 `state` and OpenID Connect `nonce` is vulnerable for a `timing attack` since it is compared via regular string comparison (instead of `Yii::$app->getSecurity()->compareString()`). Version 2.2.15 contains a patch for the issue. No known workarounds are available.","published":"2023-12-22T18:25:01.925Z","updated":"2026-10-28T02:30:46.727814120Z","reserved":"2023-12-11T17:53:36.027Z","status":"Modified","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"github.com"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":6.1,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N","rating":"medium","source":"OSV"},{"version":"3.1","score":0,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:N/A:N","rating":"none","source":"GitHub"}],"rating":"medium","products":["yiisoft yii2-authclient"],"affectedProducts":[{"vendor":"yiisoft","product":"yii2-authclient","defaultStatus":null,"versions":[{"version":"< 2.2.15","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"yiisoft/yii2-authclient","purl":"pkg:composer/yiisoft/yii2-authclient","ranges":["<2.2.15"],"fixed":["2.2.15"],"advisory":"GHSA-w8vh-p74j-x9xp"}],"cwes":["CWE-203"],"aliases":["GHSA-w8vh-p74j-x9xp"],"references":[{"url":"https://github.com/yiisoft/yii2-authclient/security/advisories/GHSA-w8vh-p74j-x9xp","tags":["x_refsource_CONFIRM","x_transferred","Exploit","Patch","Third Party Advisory","advisory","web"]},{"url":"https://github.com/yiisoft/yii2-authclient/commit/dabddf2154ab7e7703740205a069202554089248","tags":["x_refsource_MISC","x_transferred","Issue Tracking","Patch","fix","web"]},{"url":"https://github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695ff/src/OAuth1.php#L158","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695ff/src/OAuth2.php#L121","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/yiisoft/yii2-authclient/blob/0d1c3880f4d79e20aa1d77c012650b54e69695ff/src/OpenIdConnect.php#L420","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/50xxx/CVE-2023-50708.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50708","tags":["advisory"]},{"url":"https://github.com/yiisoft/yii2-authclient","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00716,"epssPercentile":0.54541,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2023-50708","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-50708","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2023-50708","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-w8vh-p74j-x9xp","ok":true,"note":"GHSA-w8vh-p74j-x9xp"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2023-50708","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}