Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Ruby-Lang | Ruby | <= 1.9.3 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Redhat | Enterprise Linux Hpc Node | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Debian | Debian Linux | 7.0 |
| Canonical | Ubuntu Linux | 12.04 |
Related Weaknesses (CWE)
References
- http://advisories.mageia.org/MGASA-2014-0472.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1912.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1913.htmlThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2014-1914.htmlThird Party Advisory
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778Vendor Advisory
- http://www.debian.org/security/2015/dsa-3157Third Party Advisory
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:129Broken Link
- http://www.openwall.com/lists/oss-security/2014/07/09/13Mailing List
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.hThird Party Advisory
- http://www.securityfocus.com/bid/68474Third Party AdvisoryVDB Entry
- http://www.ubuntu.com/usn/USN-2397-1Third Party Advisory
- https://bugs.ruby-lang.org/issues/10019Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1118158Issue Tracking
- https://exchange.xforce.ibmcloud.com/vulnerabilities/94706
- http://advisories.mageia.org/MGASA-2014-0472.htmlThird Party Advisory
FAQ
What is CVE-2014-4975?
CVE-2014-4975 is a vulnerability with a CVSS score of 5.0 (MEDIUM). 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 o...
How severe is CVE-2014-4975?
CVE-2014-4975 has been rated MEDIUM with a CVSS base score of 5.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2014-4975?
Check the references section above for vendor advisories and patch information. Affected products include: Ruby-Lang Ruby, Redhat Enterprise Linux Desktop, Redhat Enterprise Linux Hpc Node, Redhat Enterprise Linux Server, Redhat Enterprise Linux Workstation.