Inadequate Encryption Strength Affecting golang-gopkg-square-go-jose.v1 package, versions <1.0.5-1


Severity

Recommended
0.0
critical
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.41% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-GOLANGGOPKGSQUAREGOJOSEV1-21884712
  • published30 Oct 2026
  • disclosed28 Mar 2017

Introduced: 28 Mar 2017

CVE-2016-9121  (opens in a new tab)
CWE-326  (opens in a new tab)

How to fix?

Upgrade Echo:latest golang-gopkg-square-go-jose.v1 to version 1.0.5-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream golang-gopkg-square-go-jose.v1 package and not the golang-gopkg-square-go-jose.v1 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.