Vulnerability identifier: #VU8121
Vulnerability risk: Low
CVSSv3.1: 7.1 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-264
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
RubyGems
Universal components / Libraries /
Libraries used by multiple products
Vendor: Ruby
Description
The vulnerability allows a remote attacker to bypass security restrictions on the target system.
The weakness exists due to the openssl gem for Ruby uses the same initialization vector (IV) in GCM Mode (aes-*-gcm) when the IV is set before the key. A remote attacker can bypass the encryption protection mechanism and gain access to the system.
Mitigation
Update to version 2.4.0.
Vulnerable software versions
RubyGems: 2.2.0 - 2.3.4
External links
http://github.com/ruby/openssl/issues/49
Can this vulnerability be exploited remotely?
Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.