Eclipse KeyPont GOSE denial of service in JWT claim marshaling
Eclipse Foundation Eclipse KeyPont - GOSE
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Eclipse Foundation Eclipse KeyPont - GOSE |
| No fix yet |
| Eclipse Foundation Eclipse KeyPont - GOSE |
| No fix yet |
Original description
`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.
From the CVE record · eclipse