Description Preview
Overview
This vulnerability (CVE-2021-37604) affects the Microchip MiWi wireless protocol stack, which is commonly used in IoT and embedded devices for sub-GHz wireless communications. The issue stems from an improper sequence of operations in the protocol implementation where frame counter validation occurs before message authentication. This incorrect sequence creates two significant security issues:
-
An attacker can inject messages with artificially high frame counter values and invalid payloads, causing legitimate devices to update their frame counter expectations. This can lead to denial of service as legitimate messages with normal frame counter values would then be rejected as "old" or "replayed."
-
The vulnerability also enables potential replay attacks against the network, where previously captured valid messages could be retransmitted and accepted by receiving devices.
This vulnerability is categorized as CWE-670 (Always-Incorrect Control Flow Implementation), reflecting how the improper sequence of security checks fundamentally undermines the protocol's security model.
Remediation
Users of Microchip MiWi software should take the following actions:
-
Update to the latest version of the Advanced Software Framework (ASF) that contains the patched MiWi implementation. The fixed version is available in ASF 3.50.0.100 or later.
-
If immediate updating is not possible, consider implementing additional security controls at the application layer to validate message authenticity and freshness.
-
Monitor network traffic for unusual patterns that might indicate exploitation attempts, such as sudden increases in frame counter values or unexpected communication patterns.
-
For critical deployments, consider implementing network segmentation to isolate MiWi-based devices from potential attackers.
-
Consult the Microchip MiWi Software Vulnerability Response page for specific guidance related to your implementation.
References
-
ASF Release Notes 3.50.0.100: https://ww1.microchip.com/downloads/en/DeviceDoc/asf-release-notes-3.50.0.100-readme.pdf
-
Advanced Software Framework Downloads: https://www.microchip.com/en-us/development-tools-tools-and-software/libraries-code-examples-and-more/advanced-software-framework-for-sam-devices#Downloads
-
MiWi Software Vulnerability Response: https://www.microchip.com/en-us/products/wireless-connectivity/software-vulnerability-response/miwi-software-vulnerability
-
MiWi Protocol Information: https://www.microchip.com/en-us/products/wireless-connectivity/sub-ghz/miwi-protocol
-
Microchip Product Change Notifications: https://www.microchip.com/product-change-notifications/#/
Industry ExposureMost to leastThis section illustrates the prevalence of a specific Common Vulnerabilities and Exposures (CVE) across various industries based on customer reports. The ranking displays industries from the most to least affected by this particular vulnerability, offering valuable insight into where this CVE has been most frequently observed. This information can help organizations within these sectors prioritize their security efforts, understand their relative risk exposure compared to their peers, and focus remediation strategies where they are most needed. By understanding the industry-specific impact, organizations can make more informed decisions regarding patching, resource allocation, and overall risk management related to this CVE.
- Accommodation & Food ServicesAccommodation & Food Services
- Administrative, Support, Waste Management & Remediation ServicesAdministrative, Support, Waste Management & Remediation Services
- Agriculture, Forestry Fishing & HuntingAgriculture, Forestry Fishing & Hunting
- Arts, Entertainment & RecreationArts, Entertainment & Recreation
- ConstructionConstruction
- Educational ServicesEducational Services
- Finance and InsuranceFinance and Insurance
- Health Care & Social AssistanceHealth Care & Social Assistance
- InformationInformation
- Management of Companies & EnterprisesManagement of Companies & Enterprises
- ManufacturingManufacturing
- MiningMining
- Other Services (except Public Administration)Other Services (except Public Administration)
- Professional, Scientific, & Technical ServicesProfessional, Scientific, & Technical Services
- Public AdministrationPublic Administration
- Real Estate Rental & LeasingReal Estate Rental & Leasing
- Retail TradeRetail Trade
- Transportation & WarehousingTransportation & Warehousing
- UtilitiesUtilities
- Wholesale TradeWholesale Trade