Integer Overflow Affecting github.com/square/go-jose/cipher package, versions <1.0.5


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.12% (48th 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-GOLANG-GITHUBCOMSQUAREGOJOSECIPHER-451468
  • published3 Jul 2019
  • disclosed28 Mar 2017
  • creditCedric Staub

Introduced: 28 Mar 2017

CVE-2016-9123  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade github.com/square/go-jose/cipher to version 1.0.5 or higher.

Overview

github.com/square/go-jose/cipher is an implementation of JOSE standards (JWE, JWS, JWT) in Go.

Affected versions of this package are vulnerable to Integer Overflow. An integer overflow could lead to authentication bypass for CBC-HMAC encrypted ciphertexts on 32-bit architectures.

CVSS Scores

version 3.1