Live threats

All CVEs / Ruby-lang

CVE-2014-2734Ruby-lang Ruby

Medium 5.8 No auth needed

Priority
50
CVSS 2.0
5.8
EPSS
5.3%
probability of exploitation in 30 days · percentile 93
Auth required
No
Published
Apr 24, 2014
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-399
Vector
AV:N/AC:M/Au:N/C:P/I:P/A:N

What happens

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

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
ruby-langruby2.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.1
ruby-langruby2.1
ruby-langruby2.1.1

Official sources

References

Links published by the sources. Open them with care.