Technical impact
Go JOSE is an open‑source Go implementation of JSON Web Encryption, Signature, and Token standards. An identified bug allows an attacker to supply an empty ciphertext buffer to the A128CBC‑HS256, A192CBC‑HS384, or A256CBC‑HS512 decryption path. The library performs insufficient validation, indexing the buffer during CBC‑HMAC unpadding, which triggers a panic that terminates the process. This results in a denial of service because the application crashes.
Affected Systems
All versions of Go JOSE older than 4.1.5 that support the CBC‑HMAC encryption algorithms are vulnerable. The library is used in many Go projects that process JSON Web Tokens or encrypted payloads. Any application that calls the decryption routines of these algorithms with attacker‑controlled ciphertext is affected. The fix is available in release 4.1.5.
Risk and Exploitability
The CVSS score of 6.9 indicates moderate severity. The EPSS score is below 1%, suggesting a very low probability of exploitation, and it is not listed in CISA KEV. The likely attack vector is an application that receives or constructs JWE ciphertext from an untrusted source and passes it to Go JOSE for decryption. An attacker who can provide a ciphertext that triggers the empty buffer condition can force the library to panic, causing the application to crash and interrupt service.
Github GHSA