Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
christianmeller committed Aug 3, 2023
1 parent 7c50876 commit 381c1a6
Showing 1 changed file with 26 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"schema_version": "1.4.0",
"id": "GHSA-wj7q-gjg8-3cpm",
"modified": "2023-07-06T21:07:27Z",
"modified": "2023-07-06T21:07:29Z",
"published": "2023-07-06T21:07:27Z",
"aliases": [
"CVE-2023-37260"
],
"summary": "league/oauth2-server key exposed in exception message when passing as a string and providing an invalid pass phrase",
"details": "### Impact\nServers 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. \n\n### Patches\nThis 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\n\n### Workarounds\nWe recommend upgrading the oauth2-server to the latest version. If you are unable to upgrade you can avoid this security issue by passing your key as a file instead of a string.\n\n### References\n[Pull request](https://github.com/thephpleague/oauth2-server/pull/1353) for the applied fix.\n",
"details": "### Impact\nServers 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. \n\n### Patches\nThis 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 or 8.4.2 to receive the patch\n\n### Workarounds\nWe recommend upgrading the oauth2-server to the latest version. If you are unable to upgrade you can avoid this security issue by passing your key as a file instead of a string.\n\n### References\n[Pull request](https://github.com/thephpleague/oauth2-server/pull/1353) for the applied fix.\n[Pull request](https://github.com/thephpleague/oauth2-server/pull/1359) for the applied fix for php 7.x version.\n",
"severity": [
{
"type": "CVSS_V3",
Expand All @@ -25,14 +25,33 @@
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.3.2"
"introduced": "8.5.0"
},
{
"fixed": "8.5.3"
}
]
}
]
},
{
"package": {
"ecosystem": "Packagist",
"name": "league/oauth2-server"
},
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "8.3.2"
},
{
"fixed": "8.4.2"
}
]
}
]
}
],
"references": [
Expand All @@ -48,6 +67,10 @@
"type": "WEB",
"url": "https://github.com/thephpleague/oauth2-server/pull/1353"
},
{
"type": "WEB",
"url": "https://github.com/thephpleague/oauth2-server/pull/1359"
},
{
"type": "PACKAGE",
"url": "https://github.com/thephpleague/oauth2-server"
Expand Down

0 comments on commit 381c1a6

Please sign in to comment.