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…
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
- EPSS (exploitation in 30 days)
- 5.3% · top 7.3% of all CVEs (4 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.8.
Weakness
Affected products
n/a
- affected n/a
References (10)
- http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html (opens in a new tab)x_refsource_MISCx_transferred
- 106006 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- https://news.ycombinator.com/item?id=7601973 (opens in a new tab)x_refsource_MISCx_transferred
- 66956 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 20140502 Re: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
- https://gist.github.com/10446549 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/ (opens in a new tab)x_refsource_MISCx_transferred
- https://gist.github.com/emboss/91696b56cd227c8a0c13 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/adrienthebo/cve-2014-2734/ (opens in a new tab)x_refsource_MISCx_transferred
- 20140416 Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC (opens in a new tab)mailing-listx_refsource_FULLDISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2014-2734)Record last updated .