Buffer overflow in Ruby-Lang Ruby
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 of service (segmentation fault) via vectors that trigger a stack-based buffer overflow.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.0 (Medium). Vector: AV:N/AC:L/Au:N/C:P/I:N/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS: 0.035 (88.7th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 89th percentile — 88.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.039 · newest: 0.035 · change: -0.004
Affected products
- Ruby-Lang Ruby — versions 2.0, 2.0.0, 2.1
- Canonical Ubuntu Linux — versions 12.04, 14.04, 14.10
- Debian Linux — versions 7.0, 8.0
- Red Hat Enterprise Linux Desktop — versions 7.0
- Red Hat Enterprise Linux Hpc Node — versions 7.0
- Red Hat Enterprise Linux Server — versions 7.0
- Red Hat Enterprise Linux Workstation — versions 7.0
Weakness classification (CWE)
References
- www.openwall.com/lists/oss-security/2014/07/09/13 (mailing-list, Mailing List)
- rhn.redhat.com/errata/RHSA-2014-1912.html (vendor-advisory, Third Party Advisory)
- www.securityfocus.com/bid/68474 (VDB Entry, Third Party Advisory, vdb-entry)
- www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html (Third Party Advisory)
- rhn.redhat.com/errata/RHSA-2014-1913.html (vendor-advisory, Third Party Advisory)
- bugzilla.redhat.com/show_bug.cgi (Issue Tracking)
- www.debian.org/security/2015/dsa-3157 (vendor-advisory, Third Party Advisory)
- advisories.mageia.org/MGASA-2014-0472.html (Third Party Advisory)
- www.ubuntu.com/usn/USN-2397-1 (vendor-advisory, Third Party Advisory)
- bugs.ruby-lang.org/issues/10019 (Vendor Advisory)