Firmware code execution via post-copy size validation
Published May 23, 2023 · Updated Jan 21, 2025
Buffer overflow in Garmin Connect IQ API 3.0.0 through 4.1.7 allows attackers to execute arbitrary code in device firmware. The Toybox.Cryptography.Cipher.initialize method copies attacker-sized key and initialization-vector byte arrays with memcpy into fixed stack and heap buffers before checking their lengths. Exploitation requires a crafted Connect IQ application to be installed manually or through the Connect IQ Store, after which native execution can compromise the device.
Summary
What happened
Buffer overflow in Garmin Connect IQ API 3.0.0 through 4.1.7 allows attackers to execute arbitrary code in device firmware. The Toybox.Cryptography.Cipher.initialize method copies attacker-sized key and initialization-vector byte arrays with memcpy into fixed stack and heap buffers before checking their lengths. Exploitation requires a crafted Connect IQ application to be installed manually or through the Connect IQ Store, after which native execution can compromise the device.
The record
- CVE
- CVE-2023-23300
- Published
- May 23, 2023
- Updated
- Jan 21, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-120, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 23, 2023CVE publishedPublication date reported by the CVE source.
- Jan 21, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Anvil Secure cipher overflow proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo