Description
Off-by-one error in the encodes function in pack.c in Ruby 1.9.3 and earlier, and 2.x through 2.1.2, when using certain format string specifiers, allows context-dependent attackers to cause a denial of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.
Remediation
References
Related Vulnerabilities
Moodle Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2013-3630)
WordPress Plugin bodi0`s Easy cache Cross-Site Scripting (0.8)
RubyGems Cryptographic Issues Vulnerability (CVE-2013-4363)
VMware directory traversal and privilege escalation vulnerabilities
Moodle Server-Side Request Forgery (SSRF) Vulnerability (CVE-2018-1042)