Vulnerability in Ruby-Lang Ruby
CVE-2014-2734
The openssl extension in Ruby 2.x does not properly maintain the state of process memory after a file is reopened, which allows remote attackers to spoof signatures within the context of a Ruby script that attempts signature verification after performing a certain sequence of filesystem operations. NOTE: this issue has been disputed by the Ruby OpenSSL team and third parties, who state that the original demonstration PoC contains errors and redundant or unnecessarily-complex code that does not appear to be related to a demonstration of the issue. As of 20140502, CVE is not aware of any public comment by the original researcher
Published · last modified .
CVSS v2 metric
CVSS v2 base score 5.8 (Medium). Vector: AV:N/AC:M/Au:N/C:P/I:P/A:N. This CVE predates CVSS v3 and has no v3 score from NVD.
EPSS exploit prediction
EPSS 0.053, 92.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Ruby-Lang Ruby — versions 2.0, 2.0.0, 2.1
Weakness classification (CWE)
Public exploits and proof-of-concept code
2 public repositories with exploit or proof-of-concept code for this CVE:
- adrienthebo/cve-2014-2734 (1 star, last pushed 2014-04-17): I think this CVE is full of lies and deceit and very confusing code.
- gdisneyleugers/CVE-2014-2734 (last pushed 2014-04-20): Ruby OpenSSL CA Private Key Spoofing
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, chnzzh/OpenSSL-CVE-lib). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html (Exploit)
- www.osvdb.org/106006 (vdb-entry)
- news.ycombinator.com/item
- www.securityfocus.com/bid/66956 (vdb-entry)
- 20140502 Re: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC (mailing-list)
- gist.github.com/10446549
- www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/
- gist.github.com/emboss/91696b56cd227c8a0c13
- github.com/adrienthebo/cve-2014-2734/
- 20140416 Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC (mailing-list, Exploit)
This CVE has public exploit evidence. See the latest CVEs with public exploits.