# GO-2023-2334 - Denial of service via decryption of malicious PBES2 JWE objects in github.com/go-jose/go-jose/v3

Source: https://junglewise.ai/threats/go-2023-2334-denial-of-service-via-decryption-of-malicious-pbes2-jwe-09709de5  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2023-11-21  
License: CC BY 4.0 with a link back

Severity: info · Published 2023-11-21

Denial of service via decryption of malicious PBES2 JWE objects in github.com/go-jose/go-jose/v3

Technologies: [github.com/go-jose/go-jose/v3 (Go)](https://junglewise.ai/threats/technologies/github-com-go-jose-go-jose-v3), [github.com/square/go-jose (Go)](https://junglewise.ai/threats/technologies/github-com-square-go-jose). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is This vulnerability exploited in the wild?** No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.

**How severe is This vulnerability?** Informational severity, published 21 November 2023.

**Which products and versions are affected?** github.com/go-jose/go-jose/v3 (Go) SEMVER:introduced=0,fixed=3.0.1; github.com/square/go-jose (Go) SEMVER:introduced=0.

**Is there a fix for This vulnerability?** Yes. github.com/go-jose/go-jose/v3 (Go): upgrade to 3.0.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected?** Check whether you run github.com/go-jose/go-jose/v3 (Go) or github.com/square/go-jose (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/go-jose/go-jose/v3 (Go): upgrade to 3.0.1 or later

  ```sh
  go get github.com/go-jose/go-jose/v3@v3.0.1
  ```


## Affected products

- github.com/go-jose/go-jose/v3 (Go) SEMVER:introduced=0,fixed=3.0.1
- github.com/square/go-jose (Go) SEMVER:introduced=0

## Related threats

- [Go JOSE RSA parameter validation denial of service](https://junglewise.ai/threats/cve-2026-116587-go-jose-provides-an-implementation-of-the-javascript-object)
- [Go JOSE stack overflow in JSON parsing](https://junglewise.ai/threats/cve-2026-116586-go-jose-provides-an-implementation-of-the-javascript-object)
- [Go JOSE panic on empty JWE ciphertext](https://junglewise.ai/threats/cve-2026-116585-go-jose-provides-an-implementation-of-the-javascript-object)
- [Go JOSE denial of service via panic in JWE decryption](https://junglewise.ai/threats/cve-2026-34986-go-jose-denial-of-service-via-panic-in-jwe-decryption)
- [GO-2025-3485 - DoS in go-jose Parsing in github.com/go-jose/go-jose](https://junglewise.ai/threats/cve-2025-27144-dos-in-go-jose-parsing)
