p PatchFirst

GHSA-hxhc-wmg8-xrqf

GHSA-hxhc-wmg8-xrqf · namshi/jose insecure JSON Web Signatures (JWS)

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Fix available

Published
Updated

Stack: php

Affected products and versions

  • namshi/jose Packagist

    Versions
    • 1.0.0
    • 1.0.0-beta1
    • 1.0.0-rc1
    • 1.0.1
    • 1.0.2
    • 1.1.0
    • 1.1.1
    Affected ranges
    • ECOSYSTEM: < 1.1.2

    Update to 1.1.2

  • namshi/jose Packagist

    Versions
    • 1.2.0
    • 1.2.1
    Affected ranges
    • ECOSYSTEM: ≥ 1.2.0, < 1.2.2

    Update to 1.2.2

  • namshi/jose Packagist

    Versions
    • 2.0.0
    • 2.0.1
    • 2.0.2
    Affected ranges
    • ECOSYSTEM: ≥ 2.0.0, < 2.0.3

    Update to 2.0.3

  • namshi/jose Packagist

    Versions
    • 2.1.0
    • 2.1.1
    Affected ranges
    • ECOSYSTEM: ≥ 2.1.0, < 2.1.2

    Update to 2.1.2

Original sources

Check your server →