{"id":"CVE-2025-12790","aliases":["CVE-2025-12790","GHSA-9c5q-w6gr-fxcq"],"related":[],"kind":"vulnerability","state":"published","title":"Rubygem-mqtt: rubygem-mqtt hostname validation","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Se encontró una vulnerabilidad en Rubygem MQTT. Por defecto, el paquete no solía tener validación de nombre de host, lo que resultaba en un posible ataque man-in-the-middle (MitM).","source":"nvd"}],"published":"2025-11-06T21:07:34.970Z","modified":"2026-10-18T21:10:00.120Z","severity":{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},"severities":[{"scorer":"redhat","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N","score":7.4,"rating":"HIGH"}],"cwes":["CWE-29"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"0.7.0","status":"affected"}],"vendor":"Nicholas J Humfrey","product":"ruby-mqtt","package":"ruby-mqtt","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"rubygem-mqtt","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[],"vendor":"Red Hat","product":"Red Hat Satellite 6","package":"satellite:el8/rubygem-mqtt","cpe":"cpe:/a:redhat:satellite:6","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"0.7.0"}],"ecosystem":"RubyGems","package":"mqtt","purl":"pkg:gem/mqtt","source":"ghsa"}],"references":[{"url":"https://access.redhat.com/security/cve/CVE-2025-12790","tags":["vdb-entry","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2413004","tags":["issue-tracking","web","x-refsource-redhat"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/njh/ruby-mqtt/blob/main/NEWS.md#ruby-mqtt-version-070-2025-10-29","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12790","tags":["advisory"],"sources":["ghsa"]},{"url":"http://github.com/njh/ruby-mqtt","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"redhat","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-11-08T04:55:20.280Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-12790","url":"https://www.cve.org/CVERecord?id=CVE-2025-12790","licence":"CVE Terms of Use","modified":"2026-02-26T17:47:10.191Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9c5q-w6gr-fxcq","url":"https://github.com/advisories/GHSA-9c5q-w6gr-fxcq","licence":"CC-BY-4.0","modified":"2025-11-07T00:29:54.704Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-12790","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12790","licence":"Public domain","modified":"2026-10-18T21:10:00.120Z"}],"updatedAt":"2026-11-25T22:59:07.312Z","epss":{"score":0.00376,"percentile":0.33645,"date":"2026-12-01T12:00:22.000Z"}}