CVE-2024-7883

CMSE secure state may leak from stack to floating-point registers

3.7 low EPSS 0.61%

Published 31 Oct 2024 Updated 31 Oct 2024 CNA: Arm

Check your servers for CVE-2024-7883

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-7883 affects clang, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

When using Arm Cortex-M Security Extensions (CMSE), Secure stack contents can be leaked to Non-secure state via floating-point registers when a Secure to Non-secure function call is made that returns a floating-point value and when this is the first use of floating-point since entering Secure state. This allows an attacker to read a limited quantity of Secure stack contents with an impact on confidentiality. This issue is specific to code generated using LLVM-based compilers.

Severity (CVSS)

3.7 low CVSS 3.1 from Arm (CNA)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Attack vector
network: an attacker can reach the vulnerable part over the network, often from the internet
Attack complexity
high: an attack depends on conditions outside the control of the attacker, such as a race
Privileges required
none: the attacker does not need an account
User interaction
none: nobody has to click or open anything
Scope
unchanged: the damage stays inside the vulnerable component
Impact
confidentiality low, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)

Exploitation

EPSS 0.61%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 43.6% of all scored CVEs. Scores of 29 Nov 2026.

The assessment of CISA (SSVC, 31 Oct 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Weakness

  • CWE-226 Sensitive Information in Resource Not Removed Before Reuse

Affected products

As the CNA lists them.

ProductVersions
Arm Compiler for Embedded
affected from 6.6 up to and including 6.22 (unaffected from 6.23)
Other versions: unaffected
Arm Compiler for Embedded FuSa 6.16LTS
affected All versions
Other versions: affected
Arm Compiler for Embedded FuSa 6.21
affected All versions
Other versions: affected
Arm Compiler for Functional Safety 6.6
affected All versions
Other versions: affected
CLang
affected from 13 up to and including 19 (unaffected from 20)
Other versions: unaffected

Is my server affected?

Find the installed version of clang and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.

Debian, Ubuntu

dpkg -l | grep -i clang
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-7883 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-7883

RHEL, Rocky, Alma, Fedora

rpm -q clang
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-7883

Alpine

apk list --installed | grep -i clang

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2024-7883
trivy image --scanners vuln IMAGE | grep CVE-2024-7883

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2024-7883 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.