GHSA-hxhc-wmg8-xrqf
namshi/jose insecure JSON Web Signatures (JWS)
GHSA-hxhc-wmg8-xrqf is a vulnerability with no CVSS score yet in namshi/jose, published May 17, 2024. No source lists public exploit code. Fixed in namshi/jose 1.1.2.
- Severity
- UnratedNo CVSS score yet
- Exploit chance
- UnscoredNo EPSS score yet
- Exploitation
- None knownNot on CISA’s or ENISA’s lists
- Fixed in
1.1.2namshi/jose +7 more
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.
Affected packages
| Package | Affected | Fixed |
|---|---|---|
namshi/josePackagist | before 1.1.2 | 1.1.2 |
namshi/josePackagist | 1.2.0 up to 1.2.2 | 1.2.2 |
namshi/josePackagist | 2.0.0 up to 2.0.3 | 2.0.3 |
namshi/josePackagist | 2.1.0 up to 2.1.2 | 2.1.2 |
namshi/josePackagist | before 1.1.2, plus listed versions 1.0.01.0.0-beta11.0.0-rc11.0.11.0.21.1.01.1.1 | 1.1.2 |
namshi/josePackagist | 1.2.0 up to 1.2.2, plus listed versions 1.2.1 | 1.2.2 |
namshi/josePackagist | 2.0.0 up to 2.0.3, plus listed versions 2.0.12.0.2 | 2.0.3 |
namshi/josePackagist | 2.1.0 up to 2.1.2, plus listed versions 2.1.1 | 2.1.2 |
What each source reports
GitHub AdvisoriesNo score
namshi/jose insecure JSON Web Signatures (JWS)
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.
- Record
GHSA-hxhc-wmg8-xrqf- Updated
- 2026-11-02
OSVNo score
namshi/jose insecure JSON Web Signatures (JWS)
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.
- Record
GHSA-hxhc-wmg8-xrqf- Updated
- 2026-11-02
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.