{
  "id": "CVE-2025-0306",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-0306",
  "published_at": "2025-01-09T04:05:42.194Z",
  "title": "Ruby: openssl: ruby marvin attack",
  "vendor": "Red Hat",
  "product": "Red Hat",
  "cvss": {
    "score": 7.4,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-385",
  "cvss_by_source": {
    "cna": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "",
        "product": "",
        "ranges": [
          "\u003c *"
        ],
        "fixed_in": [
          "*"
        ]
      }
    ],
    "upgrade": [
      "Upgrade the affected product to * or later."
    ],
    "workarounds": [
      "See the following possible mitigations for this flaw:\n\n* 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.\n\n* 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)"
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
