Advisory

GHSA-hxhc-wmg8-xrqf

Also known as: None

Summary

namshi/jose insecure JSON Web Signatures (JWS)

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-05-17 22:31 UTC
Modified
2024-12-02 05:44 UTC

Affected packages and fixes

namshi/jose

Packagist · All systems

Affected

  • introduced 0, fixed 1.1.2 (ecosystem)

Fixed versions

1.1.2

Fix

The export has no generic command for this ecosystem.

namshi/jose

Packagist · All systems

Affected

  • introduced 1.2.0, fixed 1.2.2 (ecosystem)

Fixed versions

1.2.2

Fix

The export has no generic command for this ecosystem.

namshi/jose

Packagist · All systems

Affected

  • introduced 2.0.0, fixed 2.0.3 (ecosystem)

Fixed versions

2.0.3

Fix

The export has no generic command for this ecosystem.

namshi/jose

Packagist · All systems

Affected

  • introduced 2.1.0, fixed 2.1.2 (ecosystem)

Fixed versions

2.1.2

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences