Advisory

GHSA-9c5q-w6gr-fxcq

Also known as: CVE-2025-12790

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-11-06 21:31 UTC
Modified
2025-11-07 00:29 UTC

Affected packages and fixes

mqtt

RubyGems · All systems

Affected

  • introduced 0, fixed 0.7.0 (ecosystem)

Fixed versions

0.7.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences