UBUNTU-CVE-2021-28166

Source
https://ubuntu.com/security/CVE-2021-28166
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-28166.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-28166
Upstream
Published
2021-04-07T19:15:00Z
Modified
2025-07-16T08:15:35.869582Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

In Eclipse Mosquitto version 2.0.0 to 2.0.9, if an authenticated client that had connected with MQTT v5 sent a crafted CONNACK message to the broker, a NULL pointer dereference would occur.

References

Affected packages

Ubuntu:22.04:LTS / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/ubuntu/mosquitto@2.0.11-1ubuntu1?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
2.0.11-1ubuntu1

Affected versions

2.*

2.0.11-1
2.0.11-1build1

Ecosystem specific

{
    "availability": "No subscription required",
    "binaries": [
        {
            "binary_name": "libmosquitto-dev",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "libmosquitto1",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "libmosquitto1-dbgsym",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "libmosquittopp-dev",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "libmosquittopp1",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "libmosquittopp1-dbgsym",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "mosquitto",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "mosquitto-clients",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "mosquitto-clients-dbgsym",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "mosquitto-dbgsym",
            "binary_version": "2.0.11-1ubuntu1"
        },
        {
            "binary_name": "mosquitto-dev",
            "binary_version": "2.0.11-1ubuntu1"
        }
    ]
}