Vulnerability Details : CVE-2023-37260
league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP. Starting in version 8.3.2 and prior to version 8.5.3, servers that passed their keys to the CryptKey constructor as as string instead of a file path will have had that key included in a LogicException message if they did not provide a valid pass phrase for the key where required. This issue has been patched so that the provided key is no longer exposed in the exception message in the scenario outlined above. Users should upgrade to version 8.5.3 to receive the patch. As a workaround, pass the key as a file instead of a string.
Products affected by CVE-2023-37260
- cpe:2.3:a:thephpleague:oauth2-server:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-37260
0.11%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 45 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-37260
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
3.9
|
3.6
|
NIST | |
8.2
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
3.9
|
4.2
|
GitHub, Inc. |
CWE ids for CVE-2023-37260
-
The product generates an error message that includes sensitive information about its environment, users, or associated data.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-37260
-
https://github.com/thephpleague/oauth2-server/pull/1353
Remove Key Leak by Sephster · Pull Request #1353 · thephpleague/oauth2-server · GitHubPatch
-
https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3
Release 8.5.3 · thephpleague/oauth2-server · GitHubRelease Notes
-
https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm
Key exposed in exception message when passing as a string and providing an invalid pass phrase · Advisory · thephpleague/oauth2-server · GitHubVendor Advisory
Jump to