Skip to main content

Uncontrolled Resource Consumption in github.com/asac/go-jose/v3

Cxb6dee8d5-b814

  • github.com/asac/go-jose/v3
  • github.com/bouk/go-jose/v3
  • github.com/cheddar-me/go-jose/v3
  • github.com/codelav/go-jose/v3
  • github.com/flatheadmill/go-jose/v3
  • github.com/go-jose/go-jose
  • github.com/go-jose/go-jose/jose-util
  • github.com/go-jose/go-jose/v3
  • github.com/guillaumesmo/go-jose/v3
  • github.com/kdimak/go-jose/v3
  • github.com/mtringuyen/go-jose/v3
  • github.com/picmonkey/go-jose/v3
  • github.com/samiponkanenssh/go-jose/v3
  • github.com/securely-so/go-jose/v3
  • github.com/square/go-jose
  • github.com/square/go-jose/jose-util
  • github.com/square/go-jose/v3
  • github.com/uno-soft/go-jose/v3
  • github.com/UNO-SOFT/go-jose/v3
  • github.com/13x-tech/go-jose/jose-util
  • github.com/13x-tech/go-jose/v3
  • go-jose/go-jose
  • gopkg.in/go-jose/go-jose.v1
  • gopkg.in/go-jose/go-jose.v2
  • gopkg.in/go-jose/go-jose.v3
  • gopkg.in/square/go-jose.v1
  • gopkg.in/square/go-jose.v2
  • square/go-jose
Severity High
Score 7.5/10

Summary

The go-jose package is subject to a "billion hashes attack" causing Denial-of-Service (DOS) in versions prior to 3.0.1 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 (DOS).

  • LOW
  • NETWORK
  • NONE
  • UNCHANGED
  • NONE
  • NONE
  • NONE
  • HIGH

CWE-400 - Uncontrolled resource consumption

An uncontrolled resource allocation attack (also known as resource exhaustion attack) triggers unauthorized overconsumption of the limited resources in an application, such as memory, file system storage, database connection pool entries, and CPU. This may lead to denial of service for valid users and degradation of the application's functionality as well as that of the host operating system.

Advisory Timeline

  • Published