Skip to content
Heist/ feed
Back to feed
Medium

zephyr — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2024-6442

In ascs_cp_rsp_add in /subsys/bluetooth/audio/ascs.c, an unchecked tailroom could lead to a global buffer overflow.

Products
zephyr
Affected versions
3.1.2-1, 3.1.2-1.1, 3.1.2-1.1build1, 3.1.2-1build1, 3.1.2-1build2, 3.1.2-1build3, 3.1.2-4
Fixed versions
Not specified
CVEs
CVE-2024-6442
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:10 UTC · Revision 1

Source evidence

UBUNTU-CVE-2024-6442

core-osv · Original source

Published 4 Oct 2024, 06:15 UTC

In ascs_cp_rsp_add in /subsys/bluetooth/audio/ascs.c, an unchecked tailroom could lead to a global buffer overflow.

osv:UBUNTU-CVE-2024-6442

zephyr

Fixed versions: Not specified

zephyr

Fixed versions: Not specified

zephyr

Fixed versions: Not specified

zephyr

Fixed versions: Not specified

zephyr

Fixed versions: Not specified

zephyr

Fixed versions: Not specified

zephyr

Fixed versions: Not specified

zephyr

Fixed versions: Not specified

Complete source record
{
  "id": "c3d8fe2c0a9d28dfa6f406eef47e16d298ba8ed4d9fef17129334daec0c0e04f",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2024-6442",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2024-6442",
    "summary": "In ascs_cp_rsp_add in /subsys/bluetooth/audio/ascs.c, an unchecked tailroom could lead to a global buffer overflow.",
    "evidence": "osv:UBUNTU-CVE-2024-6442",
    "products": [
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-1",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "3.1.2-1build1",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-1build1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "3.1.2-1build2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-1build3",
            "evidence": "/affected/2/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/3/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-1build3",
            "evidence": "/affected/3/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/4/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-1.1",
            "evidence": "/affected/4/versions"
          },
          {
            "value": "3.1.2-1.1build1",
            "evidence": "/affected/4/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/5/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-1.1build1",
            "evidence": "/affected/5/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/6/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-4",
            "evidence": "/affected/6/versions"
          }
        ]
      },
      {
        "name": {
          "value": "zephyr",
          "evidence": "/affected/7/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "3.1.2-1.1build1",
            "evidence": "/affected/7/versions"
          },
          {
            "value": "3.1.2-4",
            "evidence": "/affected/7/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2024-6442",
      "aliases": [
        "UBUNTU-CVE-2024-6442"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:L/I:L/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": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=xenial",
            "ecosystem": "Ubuntu:16.04:LTS"
          },
          "versions": [
            "3.1.2-1",
            "3.1.2-1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-1build1"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-1build1"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-1build1"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-1build1"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=bionic",
            "ecosystem": "Ubuntu:18.04:LTS"
          },
          "versions": [
            "3.1.2-1build1",
            "3.1.2-1build2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-1build2"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-1build2"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-1build2"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-1build2"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-1build2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=focal",
            "ecosystem": "Ubuntu:20.04:LTS"
          },
          "versions": [
            "3.1.2-1build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-1build3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=jammy",
            "ecosystem": "Ubuntu:22.04:LTS"
          },
          "versions": [
            "3.1.2-1build3"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-1build3"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-1build3"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=noble",
            "ecosystem": "Ubuntu:24.04:LTS"
          },
          "versions": [
            "3.1.2-1.1",
            "3.1.2-1.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-1.1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "3.1.2-1.1build1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-1.1build1"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-1.1build1"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "3.1.2-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-4"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "zephyr",
            "purl": "pkg:deb/ubuntu/zephyr?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "3.1.2-1.1build1",
            "3.1.2-4"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6442.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "libzephyr4",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "libzephyr4-krb5",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "zephyr-clients",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "zephyr-server",
                "binary_version": "3.1.2-4"
              },
              {
                "binary_name": "zephyr-server-krb5",
                "binary_version": "3.1.2-4"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:56:41.095031770Z",
      "provider": "osv",
      "upstream": [
        "CVE-2024-6442"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2024-6442",
        "https://www.cve.org/CVERecord?id=CVE-2024-6442",
        "https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m22j-ccg7-4v4h"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2024-6442",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 355952,
  "published_at": "2024-10-04T06:15:00+00:00"
}