{"id":"GHSA-9c5q-w6gr-fxcq","summary":"MQTT does not validate hostnames","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":["CVE-2025-12790"],"modified":"2025-11-07T00:29:54.704188Z","published":"2025-11-06T21:31:31Z","database_specific":{"cwe_ids":["CWE-29"],"severity":"HIGH","github_reviewed":true,"github_reviewed_at":"2025-11-06T23:50:27Z","nvd_published_at":"2025-11-06T21:15:40Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-12790"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-12790"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2413004"},{"type":"WEB","url":"https://github.com/njh/ruby-mqtt/blob/main/NEWS.md#ruby-mqtt-version-070-2025-10-29"},{"type":"PACKAGE","url":"http://github.com/njh/ruby-mqtt"}],"affected":[{"package":{"name":"mqtt","ecosystem":"RubyGems","purl":"pkg:gem/mqtt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.7.0"}]}],"versions":["0.0.1","0.0.2","0.0.3","0.0.4","0.0.5","0.0.7","0.0.8","0.0.9","0.1.0","0.2.0","0.3.0","0.3.1","0.4.0","0.5.0","0.6.0"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-9c5q-w6gr-fxcq/GHSA-9c5q-w6gr-fxcq.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"}]}