p PatchFirst

CVE-2026-89315

CVE-2026-89315 · JwtClaims.MarshalJSON panics via reflect.StructOf when any untyped claim key is not a valid Go identifier suffix

Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.

`JwtClaims.MarshalJSON` built a Go struct at runtime with `reflect.StructOf`, synthesising a field named `"A" + claimName` for each untyped claim. `reflect.StructOf` **panics** when a field name is not a valid Go identifier, or when it duplicates another field. Both conditions are reachable from ordinary JWT claim names.

CVSS 6.9 · Moyenne · EPSS 0,3% · Correctif disponible

Publication
Mise à jour

Produits et versions concernés

  • eclipse keypont - gose

    Versions du logiciel
    • ≥ 0.7.3, ≤ 0.13.0-rc1: Concernée (semver)

    Aucun correctif publié

  • eclipse keypont - gose

    Versions du logiciel
    • ≥ 0, < 1.0.0-rc4: Concernée (semver)

    Mettez à jour vers 1.0.0-rc4

Sources originales

Vérifiez votre serveur →