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
0.17% (56th 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 Learn

Learn about Inadequate Encryption Strength vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN11-GOLANGGOPKGSQUAREGOJOSEV1-530699
  • published28 Mar 2017
  • 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 Debian:11 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 Debian. See How to fix? for Debian:11 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.