CVE-2024-7490

Remote Code Execution in Advanced Software Framework DHCP server

Description

Improper Input Validation vulnerability in Microchip Techology Advanced Software Framework example DHCP server can cause remote code execution through a buffer overflow. This vulnerability is associated with program files tinydhcpserver.C and program routines lwip_dhcp_find_option. This issue affects Advanced Software Framework: through 3.52.0.2574. ASF is no longer being supported. Apply provided workaround or migrate to an actively maintained framework.

Remediation

Solution:

  • ASF is no longer being supported. Apply provided workaround or migrate to an actively maintained framework.

Workaround:

  • The issue can be mitigated by adding a check to the size variable after the call [1] to pbuf_get_at on line 127 [1]. If the size variable is not 4, then the function should cease processing and return. The lwip_dhcp_find_option function is only used to find this one option. [1] https://github.com/alfred-ai/microchip-asf/blob/bf5205e36a265b867d531647ffbf2de5e287853a/thirdparty/lwip/lwip-tinyservices/tinydhcpserver.c#L127

Category

9.5
CVSS
Severity: Critical
CVSS 4.0 •
CVSS 3.1 •
EPSS 1.11% Top 25%
Vendor Advisory microchip.com
Affected: Microchip Techology Advanced Software Framework
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2024-7490?
CVE-2024-7490 has been scored as a critical severity vulnerability.
How to fix CVE-2024-7490?
To fix CVE-2024-7490: ASF is no longer being supported. Apply provided workaround or migrate to an actively maintained framework.
Is CVE-2024-7490 being actively exploited in the wild?
It is possible that CVE-2024-7490 is being exploited or will be exploited in a near future based on public information. According to its EPSS score, there is a ~1% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2024-7490?
CVE-2024-7490 affects Microchip Techology Advanced Software Framework.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.