medium5.0
CVE-2014-4975
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 contex…
Impact
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.
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Ruby-Lang | Ruby | through 1.9.3 Versions 2.0, 2.0.0, 2.1, 2.1.1, 2.1.2 |
| Redhat | Enterprise Linux Desktop | Version 7.0 |
| Redhat | Enterprise Linux Hpc Node | Version 7.0 |
| Redhat | Enterprise Linux Server | Version 7.0 |
| Redhat | Enterprise Linux Workstation | Version 7.0 |
| Debian | Debian Linux | Versions 7.0, 8.0 |
| Canonical | Ubuntu Linux | Versions 12.04, 14.04, 14.10 |
Weakness classification
References
- NVD record
- CVE.org record
- http://advisories.mageia.org/MGASA-2014-0472.html
- http://rhn.redhat.com/errata/RHSA-2014-1912.html
- http://rhn.redhat.com/errata/RHSA-2014-1913.html
- http://rhn.redhat.com/errata/RHSA-2014-1914.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778
- http://www.debian.org/security/2015/dsa-3157
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:129
- http://www.openwall.com/lists/oss-security/2014/07/09/13
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/68474
- http://www.ubuntu.com/usn/USN-2397-1
- https://bugs.ruby-lang.org/issues/10019
- https://bugzilla.redhat.com/show_bug.cgi?id=1118158
- https://exchange.xforce.ibmcloud.com/vulnerabilities/94706
- http://advisories.mageia.org/MGASA-2014-0472.html
- http://rhn.redhat.com/errata/RHSA-2014-1912.html
- http://rhn.redhat.com/errata/RHSA-2014-1913.html
- http://rhn.redhat.com/errata/RHSA-2014-1914.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778
- http://www.debian.org/security/2015/dsa-3157
- http://www.mandriva.com/security/advisories?name=MDVSA-2015:129
- http://www.openwall.com/lists/oss-security/2014/07/09/13
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- http://www.securityfocus.com/bid/68474
- http://www.ubuntu.com/usn/USN-2397-1