ExpandedVenture / ConnectionSphere

Simple Service to Start Prospecting Online
0 stars 0 forks source link

Unsafe object creation in json RubyGem #270

Open leandrosardi opened 2 years ago

leandrosardi commented 2 years ago

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 https://github.com/advisories/GHSA-x457-cw4h-hq5f / https://github.com/advisories/GHSA-x457-cw4h-hq5f, 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.

On all .gemspec files, upgrade json from < 2.3.0 to ~> 2.3.0.

Reference: https://github.com/leandrosardi/blackstack_commons/security/dependabot/1

Affected repositories:

  1. https://github.com/leandrosardi/pampa
  2. https://github.com/leandrosardi/blackstack_commons
  3. https://github.com/leandrosardi/simple_host_monitoring
  4. https://github.com/leandrosardi/pampa_dispatcher