CVE-2025-0306: Ruby: openssl: ruby marvin attack

Published Jan 7, 2025
·
Updated

A vulnerability was found in Ruby. The Ruby interpreter is vulnerable to the Marvin Attack. This attack allows the attacker to decrypt previously encrypted messages or forge signatures by exchanging a large number of messages with the vulnerable service.

Other sources

Ruby interpreter is vulnerable to the Marvin Attack. This attack allows the attacker to decrypt previously encrypted messages or forge signatures by exchanging large number of messages with the vulnerable service.

The attacker needs to be able to directly or indirectly measure the time of calling to RSA::privatedecrypt() or PKey::decrypt() and the error handling of those methods. Attacks over network are possible if network service can be made to perform calls to those functions with attacker controlled messages.

Red Hat

Affected Software

1 affected component
Ruby Ruby

Event History

Jan 7, 2025
Data Sourced
via Red Hat·11:19 AM
DescriptionSeverityAffected Software
Jan 9, 2025
CVE Published
via MITRE·04:05 AM
Data Sourced
via MITRE·04:05 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2025-0306?

CVE-2025-0306 is a high-severity vulnerability due to its ability to allow attackers to decrypt messages or forge signatures.

2

How does CVE-2025-0306 exploit the Ruby interpreter?

CVE-2025-0306 exploits the Ruby interpreter by enabling attackers to perform the Marvin Attack, exchanging numerous messages to compromise security.

3

Which versions of Ruby are affected by CVE-2025-0306?

CVE-2025-0306 affects all versions of Ruby that utilize the vulnerable interpreter without addressing the vulnerability.

4

What are the potential impacts of CVE-2025-0306?

The potential impacts of CVE-2025-0306 include unauthorized access to encrypted information and the ability to forge digital signatures.

5

How can I mitigate the risks of CVE-2025-0306?

Mitigation for CVE-2025-0306 includes updating Ruby to the latest patched version that addresses this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203