CVEfocus › CVE database › CVE-2024-7538

CVE-2024-7538oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability

CVSS 7.8 HighEPSS 0.3% (higher than 17% of CVEs)Published 2024-08-05Updated 2024-08-06Assigner: zdi

oFono CUSD AT Command Stack-based Buffer Overflow Code Execution Vulnerability. This vulnerability allows local attackers to execute arbitrary code on affected installations of oFono. An attacker must first obtain the ability to execute code on the target modem in order to exploit this vulnerability. The specific flaw exists within the parsing of responses from AT Commands. The issue results from the lack of proper validation of the length of user-supplied data prior to copying it to a stack-based buffer. An attacker can leverage this vulnerability to execute code in the context of root. Was ZDI-CAN-23190.

CWE-121

What to do

Fixed builds are available from Debian: see the table below for the fixed version per release.

Debian, Ubuntu have not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
6Fix pending
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04ofonoNot affected
vulnerable_code_not_present
Ubuntu 25.10ofonoNot affected
vulnerable_code_not_present
Ubuntu 24.04ofonoFix pending1.31-3ubuntu3.24.04.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-7538
Ubuntu 22.04ofonoFix pending1.31-3ubuntu1.2+esm1 (Ubuntu Pro)UBUNTU-CVE-2024-7538
Ubuntu 20.04ofonoFix pending1.31-2ubuntu1+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-7538
Ubuntu 18.04ofonoFix pending1.21-1ubuntu1+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-7538
Ubuntu 16.04ofonoFix pending1.17.bzr6912+16.04.20160314.3-0ubuntu1+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-7538
Debian 14ofonoFixed2.14-1DEBIAN-CVE-2024-7538
Debian 13ofonoFixed2.14-1DEBIAN-CVE-2024-7538
Debian 12ofonoFix pendingDEBIAN-CVE-2024-7538

What the vendor says

As published in the CVE record by zdi, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.