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 context-dependent attackers to cause a denial o...
MediumCVSS 5.0
EPSS 3.5%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| ruby-lang ruby | <= 1.9.3 | No fix listed |
| ruby-lang ruby | = 2.0 | No fix listed |
| ruby-lang ruby | = 2.0.0 | No fix listed |
| ruby-lang ruby | = 2.0.0-p0 | No fix listed |
| ruby-lang ruby | = 2.0.0-p195 | No fix listed |
| ruby-lang ruby | = 2.0.0-p247 | No fix listed |
| ruby-lang ruby | = 2.0.0-preview1 | No fix listed |
| ruby-lang ruby | = 2.0.0-preview2 | No fix listed |
| ruby-lang ruby | = 2.0.0-rc1 | No fix listed |
| ruby-lang ruby | = 2.0.0-rc2 | No fix listed |
| ruby-lang ruby | = 2.1 | No fix listed |
| ruby-lang ruby | = 2.1-preview1 | No fix listed |
| ruby-lang ruby | = 2.1.1 | No fix listed |
| ruby-lang ruby | = 2.1.2 | No fix listed |
| redhat enterprise linux desktop | = 7.0 | No fix listed |
| redhat enterprise linux hpc node | = 7.0 | No fix listed |
| redhat enterprise linux server | = 7.0 | No fix listed |
| redhat enterprise linux workstation | = 7.0 | No fix listed |
| debian linux | = 7.0 | No fix listed |
| debian linux | = 8.0 | No fix listed |
| Canonical Ubuntu Linux | = 12.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.04 | No fix listed |
| Canonical Ubuntu Linux | = 14.10 | No fix listed |
References
- advisories.mageia.org third-party-advisory
- RHSA-2014:1912 third-party-advisory vendor-advisory
- RHSA-2014:1913 third-party-advisory vendor-advisory
- RHSA-2014:1914 third-party-advisory vendor-advisory
- svn.ruby-lang.org vendor-advisory
- DSA-3157 third-party-advisory vendor-advisory
- MDVSA-2015:129 broken-link vendor-advisory
- [oss-security] 20140709 Fwd: [ruby-core:63604] [ruby-trunk - Bug #10019] [Open] segmentation fault/buffer overrun in pack.c (encodes) mailing-list
- www.oracle.com third-party-advisory
- 68474 third-party-advisory vdb-entry
- USN-2397-1 third-party-advisory vendor-advisory
- bugs.ruby-lang.org vendor-advisory
- bugzilla.redhat.com issue-tracking
- ruby-cve20144975-bo(94706) vdb-entry