Type conversion in jose2go - #VU173142

 

Type conversion in jose2go - #VU173142

Published: December 3, 2026


Vulnerability identifier: #VU173142
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-704
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a denial of service by interrupting request processing or crashing the server process if the panic is not recovered.

The vulnerability exists due to an unchecked string type assertion in the jose.Enc key callback when jose.Decode passes it a JWS header without the expected enc field. A remote attacker can submit a JWS token to an endpoint that uses the callback for JWE decryption to trigger a panic.


Affected software

jose2go

Remediation

Install security update from vendor's website.

jose2go - update to 1.13.0

External References

Related Security Bulletins