{"api_version":"1","generated_at":"2026-07-23T07:41:34+00:00","cve":"CVE-2014-2734","urls":{"html":"https://cve.report/CVE-2014-2734","api":"https://cve.report/api/cve/CVE-2014-2734.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2014-2734","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2014-2734"},"summary":{"title":"CVE-2014-2734","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","state":"PUBLISHED","assigner":"mitre","published_at":"2014-04-24 23:55:05","updated_at":"2026-05-06 22:30:45"},"problem_types":["CWE-399","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"5.8","severity":"","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","data":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","baseScore":5.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE"}}],"references":[{"url":"https://gist.github.com/10446549","name":"https://gist.github.com/10446549","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"castealer.rb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://news.ycombinator.com/item?id=7601973","name":"https://news.ycombinator.com/item?id=7601973","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Ruby OpenSSL private key spoofing? | Hacker News","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://seclists.org/fulldisclosure/2014/Apr/231","name":"http://seclists.org/fulldisclosure/2014/Apr/231","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"Full Disclosure: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/","name":"https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Dispute of Vulnerability CVE-2014-2734","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://gist.github.com/emboss/91696b56cd227c8a0c13","name":"https://gist.github.com/emboss/91696b56cd227c8a0c13","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"castealer.rb analysis · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html","name":"http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit"],"title":"No Results Found ≈ Packet Storm","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://github.com/adrienthebo/cve-2014-2734/","name":"https://github.com/adrienthebo/cve-2014-2734/","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"GitHub - adrienthebo/cve-2014-2734: I think this CVE is full of lies and deceit and very confusing code.","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://seclists.org/fulldisclosure/2014/May/13","name":"http://seclists.org/fulldisclosure/2014/May/13","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Full Disclosure: Re: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/66956","name":"http://www.securityfocus.com/bid/66956","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Malformed Request","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://www.osvdb.org/106006","name":"http://www.osvdb.org/106006","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2014-2734","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2014-2734","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"p0","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"p195","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"p247","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"preview1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"preview2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"rc1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.0.0","cpe7":"rc2","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.1","cpe7":"-","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.1","cpe7":"preview1","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2014","cve_id":"2734","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"ruby-lang","cpe5":"ruby","cpe6":"2.1.1","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T10:21:36.074Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html"},{"name":"106006","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/106006"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://news.ycombinator.com/item?id=7601973"},{"name":"66956","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/66956"},{"name":"20140502 Re: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://seclists.org/fulldisclosure/2014/May/13"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://gist.github.com/10446549"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://gist.github.com/emboss/91696b56cd227c8a0c13"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/adrienthebo/cve-2014-2734/"},{"name":"20140416 Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","tags":["mailing-list","x_refsource_FULLDISC","x_transferred"],"url":"http://seclists.org/fulldisclosure/2014/Apr/231"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2014-04-16T00:00:00.000Z","descriptions":[{"lang":"en","value":"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"}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2014-11-15T19:57:00.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html"},{"name":"106006","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/106006"},{"tags":["x_refsource_MISC"],"url":"https://news.ycombinator.com/item?id=7601973"},{"name":"66956","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/66956"},{"name":"20140502 Re: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://seclists.org/fulldisclosure/2014/May/13"},{"tags":["x_refsource_MISC"],"url":"https://gist.github.com/10446549"},{"tags":["x_refsource_MISC"],"url":"https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/"},{"tags":["x_refsource_MISC"],"url":"https://gist.github.com/emboss/91696b56cd227c8a0c13"},{"tags":["x_refsource_MISC"],"url":"https://github.com/adrienthebo/cve-2014-2734/"},{"name":"20140416 Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","tags":["mailing-list","x_refsource_FULLDISC"],"url":"http://seclists.org/fulldisclosure/2014/Apr/231"}],"tags":["disputed"],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2014-2734","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"n/a","version":{"version_data":[{"version_value":"n/a"}]}}]},"vendor_name":"n/a"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"** DISPUTED ** 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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html","refsource":"MISC","url":"http://packetstormsecurity.com/files/126218/Ruby-OpenSSL-Private-Key-Spoofing.html"},{"name":"106006","refsource":"OSVDB","url":"http://www.osvdb.org/106006"},{"name":"https://news.ycombinator.com/item?id=7601973","refsource":"MISC","url":"https://news.ycombinator.com/item?id=7601973"},{"name":"66956","refsource":"BID","url":"http://www.securityfocus.com/bid/66956"},{"name":"20140502 Re: Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2014/May/13"},{"name":"https://gist.github.com/10446549","refsource":"MISC","url":"https://gist.github.com/10446549"},{"name":"https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/","refsource":"MISC","url":"https://www.ruby-lang.org/en/news/2014/05/09/dispute-of-vulnerability-cve-2014-2734/"},{"name":"https://gist.github.com/emboss/91696b56cd227c8a0c13","refsource":"MISC","url":"https://gist.github.com/emboss/91696b56cd227c8a0c13"},{"name":"https://github.com/adrienthebo/cve-2014-2734/","refsource":"MISC","url":"https://github.com/adrienthebo/cve-2014-2734/"},{"name":"20140416 Ruby OpenSSL private key spoofing ~ CVE-2014-2734 with PoC","refsource":"FULLDISC","url":"http://seclists.org/fulldisclosure/2014/Apr/231"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2014-2734","datePublished":"2014-04-24T23:00:00.000Z","dateReserved":"2014-04-08T00:00:00.000Z","dateUpdated":"2024-08-06T10:21:36.074Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2014-04-24 23:55:05","lastModifiedDate":"2026-05-06 22:30:45","problem_types":["CWE-399","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:P/I:P/A:N","baseScore":5.8,"accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE"},"baseSeverity":"MEDIUM","exploitabilityScore":8.6,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*","matchCriteriaId":"90E0471D-1323-4E67-B66C-DEBF3BBAEEAA"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*","matchCriteriaId":"B03B7561-A854-4EFA-9E4E-CFC4EEAE4EE1"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:p0:*:*:*:*:*:*","matchCriteriaId":"D2423B85-0971-42AC-8B64-819008BC5778"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:p195:*:*:*:*:*:*","matchCriteriaId":"1C663278-3B2A-4B7C-959A-2AA804467F21"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:p247:*:*:*:*:*:*","matchCriteriaId":"B7927149-A76A-48BC-8405-7375FC7D7486"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:preview1:*:*:*:*:*:*","matchCriteriaId":"CB116A84-1652-4F5D-98AC-81F0349EEDC0"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:preview2:*:*:*:*:*:*","matchCriteriaId":"259C21E7-6084-4710-9BB3-C232942A451E"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*","matchCriteriaId":"285A3431-BDFE-40C5-92CD-B18217757C23"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*","matchCriteriaId":"D66B32CB-AC49-4A1C-85ED-6389F27CB319"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.1:-:*:*:*:*:*:*","matchCriteriaId":"77020036-DC99-461B-9A36-E8C0BE44E6B8"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.1:preview1:*:*:*:*:*:*","matchCriteriaId":"7A2C6617-222D-4EA3-A194-4D69B10197DE"},{"vulnerable":true,"criteria":"cpe:2.3:a:ruby-lang:ruby:2.1.1:*:*:*:*:*:*:*","matchCriteriaId":"8DF046E4-503B-4A10-BEAB-3144BD86EA49"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2014","CveId":"2734","Ordinal":"1","Title":"CVE-2014-2734","CVE":"CVE-2014-2734","Year":"2014"},"notes":[{"CveYear":"2014","CveId":"2734","Ordinal":"1","NoteData":"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","Type":"Description","Title":"CVE-2014-2734"},{"CveYear":"2014","CveId":"2734","Ordinal":"2","NoteData":"2014-04-24","Type":"Other","Title":"Published"},{"CveYear":"2014","CveId":"2734","Ordinal":"3","NoteData":"2014-11-15","Type":"Other","Title":"Modified"}]}}}