json vulnerabilities
This is a JSON implementation as a Ruby extension in C.
- Registry
- RubyGems
- Latest
- 3.1.0
- License
- Ruby
6 known advisories
The latest version, 3.1.0, is not affected by any of them. Projects on older versions may be.
bundle update --conservative json # Gemfile: '>= 3.1.0'Is your project on an affected json?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for json
Ruby JSON: JSON::ResumableParser#partial_value dereferences a freed input buffer and crashes on truncated duplicate-key streams
- Affected
- >=2.20.0 <2.21.2
- Fixed in
- 2.21.2
Ruby json: JSON generator heap buffer overflow when streaming to an IO
- Affected
- >=2.9.0 <2.19.9
- Fixed in
- 2.19.9
Ruby JSON has a format string injection vulnerability
- Affected
- >=2.18.0 <2.19.2 · >=2.16.0 <2.17.1.2 · >=2.14.0 <2.15.2.1
- Fixed in
- 2.15.2.1, 2.17.1.2, 2.19.2
Out-of-bounds Read in Ruby JSON Parser
- Affected
- >=2.10.0 <2.10.2
- Fixed in
- 2.10.2
Unsafe object creation in json RubyGem
- Affected
- <2.3.0
- Fixed in
- 2.3.0
JSON gem has Improper Input Validation vulnerability
- Affected
- <1.5.5 · >=1.6.0 <1.6.8 · >=1.7.0 <1.7.7
- Fixed in
- 1.5.5, 1.6.8, 1.7.7
Is your json version vulnerable?
- json 3.1No known advisories in 3.1.0
- json 3.0No known advisories in 3.0.2
- json 2.21No known advisories in 2.21.2
- json 2.201 advisory in 2.20.0
- json 2.19No known advisories in 2.19.9
- json 2.182 advisories in 2.18.3
- json 2.171 advisory in 2.17.1.2
- json 2.162 advisories in 2.16.0
- json 1.81 advisory in 1.8.6
- json 1.71 advisory in 1.7.7
- json 1.61 advisory in 1.6.8
- json 1.51 advisory in 1.5.5
- json 1.42 advisories in 1.4.6
- json 1.22 advisories in 1.2.4
Which of your client projects still run an old json?
NPMscan reads the Gemfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other RubyGems packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the RubyGems registry.