5.0
MEDIUM
CVE-2014-4975
Ruby Format String Stack Buffer Overflow
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.

INFO

Published Date :

Nov. 15, 2014, 8:59 p.m.

Last Modified :

Aug. 29, 2017, 1:35 a.m.

Remotely Exploitable :

Yes !

Impact Score :

2.9

Exploitability Score :

10.0
Affected Products

The following products are affected by CVE-2014-4975 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Redhat enterprise_linux_desktop
2 Redhat enterprise_linux_server
3 Redhat enterprise_linux_workstation
4 Redhat enterprise_linux_hpc_node
1 Ruby-lang ruby
1 Canonical ubuntu_linux
1 Debian debian_linux

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2014-4975 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2014-4975 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Aug. 29, 2017

    Action Type Old Value New Value
    Removed Reference http://xforce.iss.net/xforce/xfdb/94706 [Third Party Advisory, VDB Entry]
    Added Reference https://exchange.xforce.ibmcloud.com/vulnerabilities/94706 [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 13, 2016

    Action Type Old Value New Value
    Changed CPE Configuration Configuration 1 OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.4:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:1.9.3:*:*:*:*:*:*:* (and previous) Configuration 1 OR *cpe:2.3:a:ruby-lang:ruby:2.1.2:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:* *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.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.1:-:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:* *cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:* (and previous) Configuration 2 OR *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_hpc_node:7.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Configuration 3 OR *cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* Configuration 4 OR *cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:14.10:*:*:*:*:*:*:* *cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:lts:*:*:*
    Changed Reference Type http://xforce.iss.net/xforce/xfdb/94706 No Types Assigned http://xforce.iss.net/xforce/xfdb/94706 Third Party Advisory, VDB Entry
    Changed Reference Type http://www.openwall.com/lists/oss-security/2014/07/09/13 No Types Assigned http://www.openwall.com/lists/oss-security/2014/07/09/13 Mailing List
    Changed Reference Type http://www.debian.org/security/2015/dsa-3157 No Types Assigned http://www.debian.org/security/2015/dsa-3157 Third Party Advisory
    Changed Reference Type http://advisories.mageia.org/MGASA-2014-0472.html No Types Assigned http://advisories.mageia.org/MGASA-2014-0472.html Third Party Advisory
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2014-1914.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2014-1914.html Third Party Advisory
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2014-1913.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2014-1913.html Third Party Advisory
    Changed Reference Type http://rhn.redhat.com/errata/RHSA-2014-1912.html No Types Assigned http://rhn.redhat.com/errata/RHSA-2014-1912.html Third Party Advisory
    Changed Reference Type http://www.ubuntu.com/usn/USN-2397-1 No Types Assigned http://www.ubuntu.com/usn/USN-2397-1 Third Party Advisory
    Changed Reference Type http://www.mandriva.com/security/advisories?name=MDVSA-2015:129 No Types Assigned http://www.mandriva.com/security/advisories?name=MDVSA-2015:129 Broken Link
    Changed Reference Type http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html No Types Assigned http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html Third Party Advisory
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=1118158 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=1118158 Issue Tracking
    Changed Reference Type http://www.securityfocus.com/bid/68474 No Types Assigned http://www.securityfocus.com/bid/68474 Third Party Advisory, VDB Entry
  • CVE Modified by [email protected]

    Nov. 28, 2016

    Action Type Old Value New Value
    Added Reference http://www.securityfocus.com/bid/68474 [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 12, 2016

    Action Type Old Value New Value
    Added Reference http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
  • CVE Modified by [email protected]

    Apr. 23, 2015

    Action Type Old Value New Value
    Added Reference http://advisories.mageia.org/MGASA-2014-0472.html
    Added Reference http://www.mandriva.com/security/advisories?name=MDVSA-2015:129
  • CVE Modified by [email protected]

    Mar. 12, 2015

    Action Type Old Value New Value
    Added Reference http://www.debian.org/security/2015/dsa-3157
  • CVE Modified by [email protected]

    Dec. 03, 2014

    Action Type Old Value New Value
    Added Reference http://rhn.redhat.com/errata/RHSA-2014-1913.html
    Added Reference http://rhn.redhat.com/errata/RHSA-2014-1912.html
    Added Reference http://rhn.redhat.com/errata/RHSA-2014-1914.html
  • Modified Analysis by [email protected]

    Nov. 17, 2014

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Nov. 17, 2014

    Action Type Old Value New Value
    Added CPE Configuration Configuration 1 OR *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc1:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.0:rc2:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.0.4:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.0:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.1:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:2.1.2:*:*:*:*:*:*:* *cpe:2.3:a:rubyonrails:ruby_on_rails:1.9.3:*:*:*:*:*:*:* (and previous)
    Added CVSS V2 (AV:N/AC:L/Au:N/C:P/I:N/A:N)
    Changed Reference Type http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778 No Types Assigned http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=46778 Advisory
    Changed Reference Type https://bugs.ruby-lang.org/issues/10019 No Types Assigned https://bugs.ruby-lang.org/issues/10019 Advisory
    Added CWE CWE-119
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.29 }} 0.00%

score

0.64152

percentile

CVSS2 - Vulnerability Scoring System
Access Vector
Access Complexity
Authentication
Confidentiality
Integrity
Availability