CVE-2014-4975
MEDIUM severity · CVSS 5 · Memory corruption
5CVSS MEDIUM
Summary
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.
Impact & exploitability
Attack vectorNetwork
Attack complexityLow
Privileges required—
User interaction—
Confidentiality impact—
Integrity impactNone
Availability impactNone
Exploit probability (EPSS)4%
AV:N/AC:L/Au:N/C:P/I:N/A:N
Recommendation
Apply the vendor fix in your normal patch cycle. Open any affected product above for its exact safe version.
Additional information
- NVD record
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778Advisory
- http://advisories.mageia.org/MGASA-2014-0472.htmlAdvisory
- http://rhn.redhat.com/errata/RHSA-2014-1912.htmlAdvisory
- http://rhn.redhat.com/errata/RHSA-2014-1913.htmlAdvisory
- http://rhn.redhat.com/errata/RHSA-2014-1914.htmlAdvisory
- http://www.debian.org/security/2015/dsa-3157Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:129
- http://www.openwall.com/lists/oss-security/2014/07/09/13