Read the docs
TI-2024-38689 Aliases GHSA-hxhc-wmg8-xrqf

namshi/jose insecure JSON Web Signatures (JWS)

Priority LOW 38Published · Updated

Key facts

Attack vector
—
Privileges required
—
User interaction
—
Attack complexity
—
Impact type
—
Confidentiality · integrity · availability
—
Fix status
Fixed

No CVSS vector from any source. Fix status from GitHub.

Summary

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.

Why it matters now

Fix Fixed namshi/jose (Packagist): 1.1.2, 1.2.2, 2.0.3 +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—namshi/jose (Packagist)before 1.1.21.1.2Patch availableGHSA-hxhc-wmg8-xrqf
—namshi/jose (Packagist)1.2.0 to before 1.2.21.2.2Patch availableGHSA-hxhc-wmg8-xrqf
—namshi/jose (Packagist)2.0.0 to before 2.0.32.0.3Patch availableGHSA-hxhc-wmg8-xrqf
—namshi/jose (Packagist)2.1.0 to before 2.1.22.1.2Patch availableGHSA-hxhc-wmg8-xrqf
  • namshi/jose (Packagist) Vendor— Affected before 1.1.2 Fixed in 1.1.2 Patch available GHSA-hxhc-wmg8-xrqf
  • namshi/jose (Packagist) Vendor— Affected 1.2.0 to before 1.2.2 Fixed in 1.2.2 Patch available GHSA-hxhc-wmg8-xrqf
  • namshi/jose (Packagist) Vendor— Affected 2.0.0 to before 2.0.3 Fixed in 2.0.3 Patch available GHSA-hxhc-wmg8-xrqf
  • namshi/jose (Packagist) Vendor— Affected 2.1.0 to before 2.1.2 Fixed in 2.1.2 Patch available GHSA-hxhc-wmg8-xrqf

Remediation

  • Fix · GHSA-hxhc-wmg8-xrqf namshi/jose (Packagist) Fixed in 1.1.2 Advisory →
  • Fix · GHSA-hxhc-wmg8-xrqf namshi/jose (Packagist) Fixed in 1.2.2 Advisory →
  • Fix · GHSA-hxhc-wmg8-xrqf namshi/jose (Packagist) Fixed in 2.0.3 Advisory →
  • Fix · GHSA-hxhc-wmg8-xrqf namshi/jose (Packagist) Fixed in 2.1.2 Advisory →

Timeline

  1. 2026-10-03 Threatist record created from GHSA-hxhc-wmg8-xrqf

References

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences