Skip to content

← Public intelligence

Go package

github.com/square/go-jose

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

3 actionable advisories, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. UnratedGoPublished

    Decryption of malicious PBES2 JWE objects can consume unbounded system resources

    GHSA-2c7c-3mj9-8fqh

    Affected
    • Go github.com/square/go-jose < 2.6.2
    Fixed in
    2.6.2· Vendor fix available
    Issue
    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.

    Recommended action: Upgrade to 2.6.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  2. Critical, CVSS 9.1GoPublished

    Elliptic Curve Key Disclosure in go-jose

    CVE-2016-9121 · GHSA-86r9-39j9-99wp

    Affected
    • Go github.com/square/go-jose < 1.0.4
    Fixed in
    1.0.4· Vendor fix available
    Issue
    go-jose before 1.0.4 suffers from an invalid curve attack for the ECDH-ES algorithm. When deriving a shared key using ECDH-ES for an encrypted message, go-jose neglected to check that the received public key on a message is on the same curve as the static private key of the receiver, thus making it vulnerable to an invalid curve attack.

    Recommended action: Upgrade to 1.0.4 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →
  3. High, CVSS 7.5GoPublished

    Integer Overflow in go-jose

    CVE-2016-9123 · GHSA-3fx4-7f69-5mmg

    Affected
    • Go github.com/square/go-jose < 0.0.0-20160903044734-789a4c4bd4c1
    Fixed in
    0.0.0-20160903044734-789a4c4bd4c1· Vendor fix available
    Issue
    go-jose before 1.0.5 suffers from a CBC-HMAC integer overflow on 32-bit architectures. An integer overflow could lead to authentication bypass for CBC-HMAC encrypted ciphertexts on 32-bit architectures.

    Recommended action: Upgrade to 0.0.0-20160903044734-789a4c4bd4c1 (pre-release) or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:github.comSource checked Evidence →