Vulnerability Details : 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 category: OverflowMemory CorruptionDenial of service
Products affected by CVE-2014-4975
- cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:redhat:enterprise_linux_hpc_node:7.0:*:*:*:*:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
- cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:*
- cpe:2.3:a:ruby-lang:ruby:2.1:-:*:*:*:*:*:*
Threat overview for CVE-2014-4975
Top countries where our scanners detected CVE-2014-4975
Top open port discovered on systems with this issue
80
IPs affected by CVE-2014-4975 2,680
Threat actors abusing to this issue?
Yes
Find out if you* are
affected by CVE-2014-4975!
*Directly or indirectly through your vendors, service providers and 3rd parties.
Powered by
attack surface intelligence
from SecurityScorecard.
Exploit prediction scoring system (EPSS) score for CVE-2014-4975
0.29%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 65 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2014-4975
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:P/I:N/A:N |
10.0
|
2.9
|
NIST |
CWE ids for CVE-2014-4975
-
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.Assigned by: nvd@nist.gov (Primary)
References for CVE-2014-4975
-
https://exchange.xforce.ibmcloud.com/vulnerabilities/94706
Ruby encodes() function buffer overflow CVE-2014-4975 Vulnerability Report
-
http://www.ubuntu.com/usn/USN-2397-1
USN-2397-1: Ruby vulnerabilities | Ubuntu security noticesThird Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2014-1912.html
RHSA-2014:1912 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
https://bugzilla.redhat.com/show_bug.cgi?id=1118158
1118158 – (CVE-2014-4975) CVE-2014-4975 ruby: off-by-one stack-based buffer overflow in the encodes() functionIssue Tracking
-
http://www.debian.org/security/2015/dsa-3157
Debian -- Security Information -- DSA-3157-1 ruby1.9.1Third Party Advisory
-
http://advisories.mageia.org/MGASA-2014-0472.html
Mageia Advisory: MGASA-2014-0472 - Updated ruby packages fix security vulnerabilitiesThird Party Advisory
-
https://bugs.ruby-lang.org/issues/10019
Bug #10019: segmentation fault/buffer overrun in pack.c (encodes) - Ruby master - Ruby Issue Tracking SystemVendor Advisory
-
http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
Oracle Linux Bulletin - January 2016Third Party Advisory
-
http://rhn.redhat.com/errata/RHSA-2014-1913.html
RHSA-2014:1913 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778
[ruby] Revision 46778Vendor Advisory
-
http://rhn.redhat.com/errata/RHSA-2014-1914.html
RHSA-2014:1914 - Security Advisory - Red Hat Customer PortalThird Party Advisory
-
http://www.mandriva.com/security/advisories?name=MDVSA-2015:129
mandriva.comBroken Link
-
http://www.openwall.com/lists/oss-security/2014/07/09/13
oss-security - Fwd: [ruby-core:63604] [ruby-trunk - Bug #10019] [Open] segmentation fault/buffer overrun in pack.c (encodes)Mailing List
-
http://www.securityfocus.com/bid/68474
Ruby 'pack.c' Buffer Overflow VulnerabilityThird Party Advisory;VDB Entry
Jump to