CyberSecBulletin
CVE-2023-32097NVD status: Modified

Gecko Platform: Compiler Removal of Code to Clear Buffers

CVE-2023-32097 is a high-severity compiler removal of code to clear buffers vulnerability in Gecko Platform from Silabs.com, with a CVSS 3.1 base score of 7.5 out of 10. It can be exploited remotely over the network by an unauthenticated attacker, without any action from a user. The record lists version 4.2.2 as the first without the flaw, so updating Gecko Platform to that release or later removes the exposure. There is no confirmed exploitation so far. EPSS estimates a 0.48% chance of exploitation within 30 days, which is low compared with other CVEs.

Next patch cycle

High severity with no evidence of exploitation so far.

What to do

  1. Update Gecko Platform to 4.2.2 or a later version.
  2. Until you can update, restrict network access to the affected service so it is not reachable from untrusted networks.

Affected products and versions

VendorProductAffected versionsFixed in
Silabs.comGecko Platformbefore 4.2.24.2.2
SilabsGecko Software Development Kit4.2.1 and earlierNot stated

Version data comes from the organisation that assigned the CVE. Confirm against the vendor advisory before deciding you are unaffected.

How the severity score breaks down

Attack vector
NetworkCan be exploited remotely over a network, including the internet.
Attack complexity
LowNo special conditions are needed; the attack works reliably.
Privileges required
NoneNo account or login is needed.
User interaction
NoneNo action by a victim is required.
Scope
UnchangedImpact stays within the vulnerable component.
Confidentiality
HighAll data handled by the component can be read.
Integrity
NoneNothing can be modified.
Availability
NoneAvailability is not affected.

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N. Scored by NVD.

Scoring systemScoreSeverityScored by
CVSS 3.13.1LowCNA (silabs.com)
CVSS 3.17.5HighNVD

Official description

Compiler removal of buffer clearing in sli_crypto_transparent_aead_decrypt_tag in Silicon Labs Gecko Platform SDK v4.2.1 and earlier results in key material duplication to RAM.

Source: the CVE record as published by its numbering authority, via NVD and CVE.org.

The underlying weakness: Compiler Removal of Code to Clear Buffers

Sensitive memory is cleared according to the source code, but compiler optimizations leave the memory untouched when it is not read from again, aka dead store removal.

How developers prevent this class of flaw

  • Store the sensitive data in a volatile memory location if available.
  • If possible, configure the compiler so that it does not remove dead stores.
  • Where possible, encrypt sensitive data that are used by a software system.

More Compiler Removal of Code to Clear Buffers vulnerabilities (CWE-14)

Timeline

  1. CVE record published.
  2. CISA published its SSVC assessment (exploitation: none, automatable: no, technical impact: partial).
  3. Record last changed materially (score, affected products, status or references).

References

Other vulnerabilities in Gecko Platform

All Gecko Platform vulnerabilities

Recent Compiler Removal of Code to Clear Buffers vulnerabilities

Spotted an error? Tell us.