Source: golang-gopkg-square-go-jose.v1
X-Debbugs-CC: te…@security.debian.org
Severity: grave
Tags: security
Hi,
The following vulnerabilities were published for golang-gopkg-square-go-jose.v1.
CVE-2026-116585[0]:
| Go JOSE provides an implementation of the Javascript Object Signing
| and Encryption set of standards in Go, including support for JSON
| Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token
| (JWT) standards. Prior to 4.1.5, decrypting untrusted JWE ciphertext
| with A128CBC-HS256, A192CBC-HS384, or A256CBC-HS512 can pass an
| empty ciphertext buffer to CBC-HMAC unpadding. Insufficient
| validation allows the empty buffer to be indexed, causing a panic
| and denial of service. Applications that decrypt attacker-controlled
| ciphertext with one of these content-encryption algorithms are
| affected. This issue is fixed in version 4.1.5.
https://github.com/go-jose/go-jose/security/advisories/GHSA-4w3g-jfj2-cw2q
https://github.com/go-jose/go-jose/pull/292
https://github.com/go-jose/go-jose/commit/74114c2fa22669a2b2a296746eaa82e15566fd54 (v4.1.5)
CVE-2026-116586[1]:
| Go JOSE provides an implementation of the Javascript Object Signing
| and Encryption set of standards in Go, including support for JSON
| Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token
| (JWT) standards. Prior to 4.1.5, parsing attacker-controlled JSON
| through go-jose allows deeply nested arrays or objects to exceed
| Go's stack limit. The resulting stack overflow crashes the
| application and permits denial of service in applications that parse
| untrusted JSON through go-jose. This issue is fixed in version
| 4.1.5.
https://github.com/go-jose/go-jose/security/advisories/GHSA-vvm8-gf78-28g4
https://github.com/go-jose/go-jose/pull/290
https://github.com/go-jose/go-jose/commit/a31af25836222f4c45d366d6e8f9b1049dd9935a (v4.1.5)
CVE-2026-116587[2]:
| Go JOSE provides an implementation of the Javascript Object Signing
| and Encryption set of standards in Go, including support for JSON
| Web Encryption (JWE), JSON Web Signature (JWS), and JSON Web Token
| (JWT) standards. Prior to 4.1.6, go-jose parses attacker-controlled
| RSA modulus and prime values from JWKs without enforcing size and
| consistency bounds before passing them to
| crypto/rsa.PrivateKey.Validate. On Go 1.24 and later, crafted large
| or degenerate RSA parameters can make that validation consume cubic
| CPU time, allowing remote denial of service in applications that
| parse JWKs from untrusted sources. This issue is fixed in version
| 4.1.6.
https://github.com/go-jose/go-jose/security/advisories/GHSA-mgcc-cww5-fp2q
https://github.com/go-jose/go-jose/commit/a0111f82742fa92bceec9ede40845e73319e6230 (v4.1.6)
If you fix the vulnerabilities please also make sure to include the
CVE (Common Vulnerabilities & Exposures) ids in your changelog entry.
For further information see:
[0] https://security-tracker.debian.org/tracker/CVE-2026-116585
https://www.cve.org/CVERecord?id=CVE-2026-116585
[1] https://security-tracker.debian.org/tracker/CVE-2026-116586
https://www.cve.org/CVERecord?id=CVE-2026-116586
[2] https://security-tracker.debian.org/tracker/CVE-2026-116587
https://www.cve.org/CVERecord?id=CVE-2026-116587
Please adjust the affected versions in the BTS as needed.
Bug#1155961: golang-gopkg-square-go-jose.v1: CVE-2026-116585 CVE-2026-116586 CVE-2026-116587
- From
- Moritz Mühlenhoff <j…@inutil.org>
- Reply-To
- Moritz Mühlenhoff <j…@inutil.org>, 1155…@bugs.debian.org
- Sender
- robo…@news.nic.it
- Organization
- linux.* mail to news gateway
- Message-ID
- <O5hg…@gated-at.bofh.it>
- Date
- Newsgroups
- linux.debian.bugs.rc
Moderated This group is moderated.