Improper Input Validation Affecting json-jwt package, versions <1.11.0


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.22% (61st 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 Improper Input Validation vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RUBY-JSONJWT-483343
  • published12 Nov 2019
  • disclosed12 Nov 2019
  • creditUnknown

Introduced: 12 Nov 2019

CVE-2019-18848  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade json-jwt to version 1.11.0 or higher.

Overview

json-jwt is a JSON Web Token and its family (JSON Web Signature, JSON Web Encryption and JSON Web Key) in Ruby.

Affected versions of this package are vulnerable to Improper Input Validation. The json-jwt gem before 1.11.0 for Ruby lacks an element count during the splitting of a JWE string.

CVSS Scores

version 3.1