GO-2023-2334
Dashboard / Vulnerabilities / GO-2023-2334
Summary: Denial of service via decryption of malicious PBES2 JWE objects in github.com/go-jose/go-jose/v3
Details: The go-jose package is subject to a "billion hashes attack" causing denial-of-service when decrypting JWE inputs. This occurs when an attacker can provide a PBES2 encrypted JWE blob with a very large p2c value that, when decrypted, produces a denial-of-service.
References: https://github.com/go-jose/go-jose/commit/65351c27657d58960c2e6c9fbb2b00f818e50568, https://github.com/go-jose/go-jose/issues/64
Affected packages
Package
Name: github.com/go-jose/go-jose/v3
Purl: pkg:golang/github.com/go-jose/go-jose/v3
Affected ranges
Type: SEMVER
Events:
Introduced- 0
Fixed -3.0.1
Affected versions
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
