ubuntu-cve-2021-41229
Vulnerability from osv_ubuntu
Published
2021-11-12 23:15
Modified
2026-04-22 07:40
Summary
Details

BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.


{
  "affected": [
    {
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "bluetooth",
            "binary_version": "5.37-0ubuntu5.3+esm5"
          },
          {
            "binary_name": "bluez",
            "binary_version": "5.37-0ubuntu5.3+esm5"
          },
          {
            "binary_name": "bluez-cups",
            "binary_version": "5.37-0ubuntu5.3+esm5"
          },
          {
            "binary_name": "bluez-hcidump",
            "binary_version": "5.37-0ubuntu5.3+esm5"
          },
          {
            "binary_name": "bluez-obexd",
            "binary_version": "5.37-0ubuntu5.3+esm5"
          },
          {
            "binary_name": "bluez-tests",
            "binary_version": "5.37-0ubuntu5.3+esm5"
          },
          {
            "binary_name": "libbluetooth3",
            "binary_version": "5.37-0ubuntu5.3+esm5"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:Pro:16.04:LTS",
        "name": "bluez",
        "purl": "pkg:deb/ubuntu/bluez@5.37-0ubuntu5.3+esm5?arch=source\u0026distro=esm-infra/xenial"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.35-0ubuntu2",
        "5.36-0ubuntu1",
        "5.37-0ubuntu5",
        "5.37-0ubuntu5.1",
        "5.37-0ubuntu5.3",
        "5.37-0ubuntu5.3+esm1",
        "5.37-0ubuntu5.3+esm2",
        "5.37-0ubuntu5.3+esm3",
        "5.37-0ubuntu5.3+esm4",
        "5.37-0ubuntu5.3+esm5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "bluetooth",
            "binary_version": "5.48-0ubuntu3.6"
          },
          {
            "binary_name": "bluez",
            "binary_version": "5.48-0ubuntu3.6"
          },
          {
            "binary_name": "bluez-cups",
            "binary_version": "5.48-0ubuntu3.6"
          },
          {
            "binary_name": "bluez-hcidump",
            "binary_version": "5.48-0ubuntu3.6"
          },
          {
            "binary_name": "bluez-obexd",
            "binary_version": "5.48-0ubuntu3.6"
          },
          {
            "binary_name": "bluez-tests",
            "binary_version": "5.48-0ubuntu3.6"
          },
          {
            "binary_name": "libbluetooth3",
            "binary_version": "5.48-0ubuntu3.6"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:18.04:LTS",
        "name": "bluez",
        "purl": "pkg:deb/ubuntu/bluez@5.48-0ubuntu3.6?arch=source\u0026distro=bionic"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.48-0ubuntu3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.46-0ubuntu3",
        "5.46-0ubuntu4",
        "5.48-0ubuntu3",
        "5.48-0ubuntu3.1",
        "5.48-0ubuntu3.2",
        "5.48-0ubuntu3.3",
        "5.48-0ubuntu3.4",
        "5.48-0ubuntu3.5"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "bluetooth",
            "binary_version": "5.53-0ubuntu3.4"
          },
          {
            "binary_name": "bluez",
            "binary_version": "5.53-0ubuntu3.4"
          },
          {
            "binary_name": "bluez-cups",
            "binary_version": "5.53-0ubuntu3.4"
          },
          {
            "binary_name": "bluez-hcidump",
            "binary_version": "5.53-0ubuntu3.4"
          },
          {
            "binary_name": "bluez-obexd",
            "binary_version": "5.53-0ubuntu3.4"
          },
          {
            "binary_name": "bluez-tests",
            "binary_version": "5.53-0ubuntu3.4"
          },
          {
            "binary_name": "libbluetooth3",
            "binary_version": "5.53-0ubuntu3.4"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:20.04:LTS",
        "name": "bluez",
        "purl": "pkg:deb/ubuntu/bluez@5.53-0ubuntu3.4?arch=source\u0026distro=focal"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.53-0ubuntu3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.50-0ubuntu4",
        "5.51-0ubuntu1",
        "5.51-0ubuntu2",
        "5.52-0ubuntu1",
        "5.52-0ubuntu2",
        "5.53-0ubuntu1",
        "5.53-0ubuntu2",
        "5.53-0ubuntu3",
        "5.53-0ubuntu3.1",
        "5.53-0ubuntu3.2",
        "5.53-0ubuntu3.3"
      ]
    },
    {
      "ecosystem_specific": {
        "availability": "No subscription required",
        "binaries": [
          {
            "binary_name": "bluetooth",
            "binary_version": "5.62-0ubuntu2"
          },
          {
            "binary_name": "bluez",
            "binary_version": "5.62-0ubuntu2"
          },
          {
            "binary_name": "bluez-cups",
            "binary_version": "5.62-0ubuntu2"
          },
          {
            "binary_name": "bluez-hcidump",
            "binary_version": "5.62-0ubuntu2"
          },
          {
            "binary_name": "bluez-meshd",
            "binary_version": "5.62-0ubuntu2"
          },
          {
            "binary_name": "bluez-obexd",
            "binary_version": "5.62-0ubuntu2"
          },
          {
            "binary_name": "bluez-tests",
            "binary_version": "5.62-0ubuntu2"
          },
          {
            "binary_name": "libbluetooth3",
            "binary_version": "5.62-0ubuntu2"
          }
        ]
      },
      "package": {
        "ecosystem": "Ubuntu:22.04:LTS",
        "name": "bluez",
        "purl": "pkg:deb/ubuntu/bluez@5.62-0ubuntu2?arch=source\u0026distro=jammy"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5.62-0ubuntu2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ],
      "versions": [
        "5.60-0ubuntu2",
        "5.62-0ubuntu1"
      ]
    }
  ],
  "aliases": [],
  "details": "BlueZ is a Bluetooth protocol stack for Linux. In affected versions a vulnerability exists in sdp_cstate_alloc_buf which allocates memory which will always be hung in the singly linked list of cstates and will not be freed. This will cause a memory leak over time. The data can be a very large object, which can be caused by an attacker continuously sending sdp packets and this may cause the service of the target device to crash.",
  "id": "UBUNTU-CVE-2021-41229",
  "modified": "2026-04-22T07:40:10Z",
  "published": "2021-11-12T23:15:00Z",
  "references": [
    {
      "type": "REPORT",
      "url": "https://ubuntu.com/security/CVE-2021-41229"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/bluez/bluez/security/advisories/GHSA-3fqg-r8j5-f5xq"
    },
    {
      "type": "ADVISORY",
      "url": "https://ubuntu.com/security/notices/USN-5155-1"
    },
    {
      "type": "REPORT",
      "url": "https://www.cve.org/CVERecord?id=CVE-2021-41229"
    }
  ],
  "related": [
    "USN-5155-1"
  ],
  "schema_version": "1.7.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L",
      "type": "CVSS_V3"
    },
    {
      "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    },
    {
      "score": "low",
      "type": "Ubuntu"
    }
  ],
  "upstream": [
    "CVE-2021-41229"
  ]
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…