High severity · published Jul 6, 2023
CVE-2023-37260
league/oauth2-server is an implementation of an OAuth 2.0 authorization server written in PHP
7.5
CVSS
1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
None
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 61% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OA
Oauth2-server · Thephpleague
8.3.2 before 8.5.3 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2023-37260
CVE.org
https://www.cve.org/CVERecord?id=CVE-2023-37260
Patch
https://github.com/thephpleague/oauth2-server/pull/1353
Release Notes
https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3
Vendor Advisory
https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8-3cpm
