CVE-2014-2734Ruby-lang Ruby
Medium 5.8 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- 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
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | 2.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.1 |
| ruby-lang | ruby | 2.1 |
| ruby-lang | ruby | 2.1.1 |
Official sources
References
Links published by the sources. Open them with care.