CVE-2020-10663
HIGHJSON gem < 2.2.0 - Unsafe Object Creation via JSON Parsing
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2020-10663. PoCs published by rails-lts.
AI-analyzed exploit summary This repository provides a monkey-patch for the `json` gem to mitigate CVE-2020-10663, a deserialization vulnerability that allows arbitrary object creation. The patch modifies `JSON.parse` to prevent unintended object unmarshalling when no options are explicitly provided.
Description
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.
Exploits (1)
This repository provides a monkey-patch for the `json` gem to mitigate CVE-2020-10663, a deserialization vulnerability that allows arbitrary object creation. The patch modifies `JSON.parse` to prevent unintended object unmarshalling when no options are explicitly provided.
References (19)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N