search menu icon-carat-right cmu-wordmark

CERT Coordination Center

A stack-based overflow vulnerability exists in the Microchip Advanced Software Framework (ASF) implementation of the tinydhcp server

Vulnerability Note VU#138043

Original Release Date: 2024-09-19 | Last Revised: 2024-09-19

Overview

A stack-based overflow vulnerability exists in the tinydhcp server in the Microchip Advanced Software Framework (ASF) that can lead to remote code execution.

Description

An implementation of DHCP in ASF fails input validation, thereby creating conditions for a stack-based overflow. The software is no longer supported by the vendor. Because this vulnerability is in IoT-centric code, it is likely to surface in many places in the wild.

CVE-2024-7490 There exists a vulnerability in all publicly available examples of the ASF codebase that allows for a specially crafted DHCP request to cause a stack-based overflow that could lead to remote code execution.

Impact

This vulnerability can be tested by sending a single DHCP Request packet to a multicast address. This vulnerability exists in the current version of ASF 3.52.0.2574 and all previous versions of the software. There are also multiple forks of the tinydhcp software in github that are also potentially susceptible to this vulnerability.

Solution

The CERT/CC is currently unaware of a practical solution to this problem other than replacing the tinydhcp service with another one that does not have the same issue.

Acknowledgements

Thanks to the reporter Andrue Coombes of Amazon Element55. This document was written by Timur Snoke.

Vendor Information

138043
 

Microchip Technology Affected

Notified:  2024-03-07 Updated: 2024-09-19

Statement Date:   August 05, 2024

CVE-2024-7490 Affected

Vendor Statement

This software solution is no longer being supported by Microchip. Any remediation action will be to migrate to a current software solution that is under active maintenance from us.


Other Information

CVE IDs: CVE-2024-7490
API URL: VINCE JSON | CSAF
Date Public: 2024-09-19
Date First Published: 2024-09-19
Date Last Updated: 2024-09-19 11:47 UTC
Document Revision: 1

Sponsored by CISA.