GHSA-hxhc-wmg8-xrqf namshi/jose insecure JSON Web Signatures (JWS)
Unknown
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- PHP
Description
namshi/jose allows the acceptance of unsecure JSON Web Signatures (JWS) by default. The vulnerability arises from the $allowUnsecure flag, which, when set to true during the loading of JWSes, permits tokens signed with 'none' algorithms to be processed. This behavior poses a significant security risk as it could allow an attacker to impersonate users by crafting a valid jwt token.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| namshi/jose(Packagist) | < 1.1.2; = 1.0.0; = 1.0.0-beta1; = 1.0.0-rc1 +14 more | 1.1.2, 1.2.2, 2.0.3, 2.1.2 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| namshi/jose(Packagist) | < 1.1.2 | 1.1.2 |
| namshi/jose(Packagist) | = 1.0.0 | No fix listed |
| namshi/jose(Packagist) | = 1.0.0-beta1 | No fix listed |
| namshi/jose(Packagist) | = 1.0.0-rc1 | No fix listed |
| namshi/jose(Packagist) | = 1.0.1 | No fix listed |
| namshi/jose(Packagist) | = 1.0.2 | No fix listed |
| namshi/jose(Packagist) | = 1.1.0 | No fix listed |
| namshi/jose(Packagist) | = 1.1.1 | No fix listed |
| namshi/jose(Packagist) | >= 1.2.0, < 1.2.2 | 1.2.2 |
| namshi/jose(Packagist) | = 1.2.0 | No fix listed |
| namshi/jose(Packagist) | = 1.2.1 | No fix listed |
| namshi/jose(Packagist) | >= 2.0.0, < 2.0.3 | 2.0.3 |
| namshi/jose(Packagist) | = 2.0.0 | No fix listed |
| namshi/jose(Packagist) | = 2.0.1 | No fix listed |
| namshi/jose(Packagist) | = 2.0.2 | No fix listed |
| namshi/jose(Packagist) | >= 2.1.0, < 2.1.2 | 2.1.2 |
| namshi/jose(Packagist) | = 2.1.0 | No fix listed |
| namshi/jose(Packagist) | = 2.1.1 | No fix listed |
References
- github.com patch
- github.com
- github.com product
- github.com