CVE-2014-4975

Ruby < 1.9.3 and 2.x through 2.1.2 - Denial of Service via Off-by-One Error in pack.c

Title source: llm
STIX 2.1

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.

References (14)

Core 14
Core References
Mailing List mailing-list x_refsource_mlist
http://www.openwall.com/lists/oss-security/2014/07/09/13
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-1912.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/68474
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-1913.html
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1118158
Third Party Advisory vendor-advisory x_refsource_debian
http://www.debian.org/security/2015/dsa-3157
Third Party Advisory x_refsource_confirm
http://advisories.mageia.org/MGASA-2014-0472.html
Third Party Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-2397-1
Vendor Advisory x_refsource_confirm
https://bugs.ruby-lang.org/issues/10019
Broken Link vendor-advisory x_refsource_mandriva
http://www.mandriva.com/security/advisories?name=MDVSA-2015:129
Third Party Advisory vendor-advisory x_refsource_redhat
http://rhn.redhat.com/errata/RHSA-2014-1914.html
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/94706

Scores

EPSS 0.0389
EPSS Percentile 89.0%

Details

CWE
CWE-119
Status published
Products (15)
canonical/ubuntu_linux 12.04
canonical/ubuntu_linux 14.04
canonical/ubuntu_linux 14.10
debian/debian_linux 7.0
debian/debian_linux 8.0
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
ruby-lang/ruby 2.0
... and 5 more
Published Nov 15, 2014
Tracked Since Feb 18, 2026