{
  "id": "CVE-2025-12790",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-12790",
  "published_at": "2025-11-06T21:07:34.97Z",
  "title": "Rubygem-mqtt: rubygem-mqtt hostname validation",
  "vendor": "Nicholas J Humfrey",
  "product": "ruby-mqtt",
  "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 flaw was found in Rubygem MQTT. By default, the package used to not have hostname validation, resulting in possible Man-in-the-Middle (MITM) attack.",
  "cwe": "CWE-29",
  "cvss_by_source": {
    "cna": 7.4
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "Nicholas J Humfrey",
        "product": "ruby-mqtt",
        "ranges": [
          "\u003c 0.7.0"
        ],
        "fixed_in": [
          "0.7.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ruby-mqtt to 0.7.0 or later."
    ],
    "workarounds": [
      "Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability."
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
