{"id":"CVE-2025-12790","summary":"Rubygem-mqtt: rubygem-mqtt hostname validation","details":"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.","aliases":["GHSA-9c5q-w6gr-fxcq"],"modified":"2026-08-12T03:51:18.333037426Z","published":"2025-11-06T21:07:34.970Z","database_specific":{"cwe_ids":["CWE-29"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12790.json","cna_assigner":"redhat"},"references":[{"type":"WEB","url":"https://access.redhat.com/downloads/content/package-browser/"},{"type":"WEB","url":"https://github.com/njh/ruby-mqtt/blob/main/NEWS.md#ruby-mqtt-version-070-2025-10-29"},{"type":"ADVISORY","url":"https://access.redhat.com/security/cve/CVE-2025-12790"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/12xxx/CVE-2025-12790.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12790"},{"type":"REPORT","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2413004"},{"type":"PACKAGE","url":"https://github.com/njh/ruby-mqtt"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/njh/ruby-mqtt","events":[{"introduced":"0"},{"fixed":"f99f2c9dcd4f388d4313c9fccbb6eb288701dee7"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"0.7.0"}]}}],"versions":["v0.6.0","v0.5.0","v0.4.0","v0.3.1","v0.3.0","v0.2.0","v0.1.0","v0.0.9","v0.0.8","v0.0.7","v0.0.6","v0.0.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-12790.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"}]}