The JSON gem through 2.2.0 for Ruby, as used in Ruby 2.4 through 2.4.9, 2.5 through 2.5.7, and 2.6 through 2.6.5, has an Unsafe Object Creation Vulnerability. This is quite similar to CVE-2013-0269, but does not rely on poor garbage-collection behavior within Ruby. Specifically, use of JSON parsing methods can lead to creation of a malicious object within the interpreter, with adverse effects that are application-dependent.

References[email protected][email protected][email protected][email protected][email protected][email protected][email protected]/message/7QL6MJD2BO4IRJ5CJFNMCDYMQQFT24BJ/[email protected]/message/F4TNVTT66VPRMX5UZYSDGSVRXKKDDDU5/[email protected]/message/NK2PBXWMFRUD7U7Q7LHV4KYLYID77RI4/


Source: MITRE

Published: 2020-04-28

Updated: 2020-11-12

Type: CWE-20

Risk Information

CVSS v2.0

Base Score: 5

Vector: AV:N/AC:L/Au:N/C:N/I:P/A:N

Impact Score: 2.9

Exploitability Score: 10

Severity: MEDIUM

CVSS v3.0

Base Score: 7.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Impact Score: 3.6

Exploitability Score: 3.9

Severity: HIGH