Vulnerability 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 Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Thephpleague | Oauth2-Server | >= 8.3.2, < 8.5.3 |
Related Weaknesses (CWE)
References
- https://github.com/thephpleague/oauth2-server/pull/1353Patch
- https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3Release Notes
- https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8Vendor Advisory
- https://github.com/thephpleague/oauth2-server/pull/1353Patch
- https://github.com/thephpleague/oauth2-server/releases/tag/8.5.3Release Notes
- https://github.com/thephpleague/oauth2-server/security/advisories/GHSA-wj7q-gjg8Vendor Advisory
FAQ
What is CVE-2023-37260?
CVE-2023-37260 is a vulnerability with a CVSS score of 8.2 (HIGH). 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 cons...
How severe is CVE-2023-37260?
CVE-2023-37260 has been rated HIGH with a CVSS base score of 8.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-37260?
Check the references section above for vendor advisories and patch information. Affected products include: Thephpleague Oauth2-Server.