PoC Monitor
← All CVEs
CVE-2025-0306published 9 Jan 2025 04:05 UTCData: JSON · API

Red Hat

Ruby: openssl: ruby marvin attack

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.4high · scored by CNA · CWE-385
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

  • < *

Fixed in *

Mitigation

Upgrade the affected product to * or later.

Workaround

See the following possible mitigations for this flaw: * Do not use the methods with PKCS#1v1.5 padding in network contexts. Make sure that any calls that happen, will perform OAEP decryption only. Do not support PKCS#1v1.5 encryption padding at all. * Use Ruby with a version of OpenSSL that has the implicit rejection mechanism implemented.(https://github.com/openssl/openssl/pull/13817, https://github.com/openssl/openssl/commit/7fc67e0a33102aa47bbaa56533eeecb98c0450f7 included in 3.2.0, backported to RHEL-8)

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published9 Jan 2025 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.