UBUNTU-CVE-2021-34431

Source
https://ubuntu.com/security/CVE-2021-34431
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-34431.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2021-34431
Related
Published
2021-07-22T14:15:00Z
Modified
2024-10-15T14:08:13Z
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
Summary
[none]
Details

In Eclipse Mosquitto version 1.6 to 2.0.10, if an authenticated client that had connected with MQTT v5 sent a crafted CONNECT message to the broker a memory leak would occur, which could be used to provide a DoS attack against the broker.

References

Affected packages

Ubuntu:20.04:LTS / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/ubuntu/mosquitto?arch=src?distro=focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

1.*

1.6.6-1
1.6.7-1
1.6.8-1
1.6.8-2
1.6.9-1~build1
1.6.9-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:Pro:20.04:LTS / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/ubuntu/mosquitto?arch=src?distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
1.6.9-1ubuntu0.1~esm1

Affected versions

1.*

1.6.6-1
1.6.7-1
1.6.8-1
1.6.8-2
1.6.9-1~build1
1.6.9-1

Ecosystem specific

{
    "availability": "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "libmosquitto-dev"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "libmosquitto1"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "libmosquitto1-dbgsym"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "libmosquittopp-dev"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "libmosquittopp1"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "libmosquittopp1-dbgsym"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "mosquitto"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "mosquitto-clients"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "mosquitto-clients-dbgsym"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "mosquitto-dbgsym"
        },
        {
            "binary_version": "1.6.9-1ubuntu0.1~esm1",
            "binary_name": "mosquitto-dev"
        }
    ]
}

Ubuntu:22.04:LTS / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/ubuntu/mosquitto?arch=src?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",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "binary_version": "2.0.11-1ubuntu1",
            "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"
        }
    ]
}

Ubuntu:24.04:LTS / mosquitto

Package

Name
mosquitto
Purl
pkg:deb/ubuntu/mosquitto?arch=src?distro=noble

Affected ranges

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

Ecosystem specific

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