Security mailing lists by PureSourceCode

CVE-2023-37260

HIGH 7.5CVSS 3.1

league/oauth2-server key exposed in exception message when passing as a string and providing an invalid pass phrase

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.

Published
6 Jul 2023
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-200CWE-209
Also known as
GHSA-wj7q-gjg8-3cpm
Sources
NVDJSONOSV GHSA-wj7q-gjg8-3cpmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
OSV GitHub CVSS 3.1 HIGH 8.2 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD thephpleague oauth2-server
cpe:2.3:a:thephpleague:oauth2-server:*:*:*:*:*:*:*:*
>= 8.3.2, < 8.5.3 8.5.3
OSV Packagist league/oauth2-server >= 8.3.2, < 8.4.2 8.4.2
OSV Packagist league/oauth2-server >= 8.5.0, < 8.5.3 8.5.3

References

History

  • 25 Nov 2026 20:36 UTC · NVD: first stored (published 6 Jul 2023)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 6 Jul 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.