6.9Mittel

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

Eclipse Foundation Eclipse KeyPont - GOSE Veröffentlicht: (vor 26 Tagen)

Beschreibung

`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.

Schwachstellentyp (CWE): CWE-248

Daten: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Wiedergegeben wie in der Quelle, auf Englisch.

Betroffene Produkte und Versionen

HerstellerProduktVersionen
Eclipse Foundation Eclipse KeyPont - GOSE 0.7.3 – ≤ 0.13.0-rc1

Referenzen und Patches