Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. json
  4. ›
  5. CVE-2013-0269

CVE-2013-0269: Denial of Service and Unsafe Object Creation Vulnerability

February 12, 2013 (updated December 8, 2017)

When parsing certain JSON documents, the JSON gem can be coerced in to creating Ruby symbols in a target system. Since Ruby symbols are not garbage collected, this can result in a denial of service attack. The same technique can be used to create objects in a target system that act like internal objects. These “act alike” objects can be used to bypass certain security mechanisms and can be used as a spring board for SQL injection attacks in Ruby on Rails.

References

  • groups.google.com/forum/?fromgroups=

Code Behaviors & Features

Detect and mitigate CVE-2013-0269 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.5.5, all versions starting from 1.6.0 before 1.6.8, all versions starting from 1.7.0 before 1.7.7

Fixed versions

  • 1.5.5
  • 1.6.8
  • 1.7.7

Solution

Upgrade, patches and workarounds available (see source)

Impact 7.5 HIGH

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

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

gem/json/CVE-2013-0269.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:16 +0000.