{"id":"CVE-2024-7490","published":"2024-08-08T15:01:09Z","modified":"2025-08-29T20:23:53Z","title":"Remote Code Execution in Advanced Software Framework DHCP server","vendor":"Microchip Techology","product":"Advanced Software Framework","tier":"tail","description":{"text":"Improper Input Validation vulnerability in Microchip Techology Advanced Software Framework example DHCP server can cause remote code execution through a buffer overflow.\n This vulnerability is associated with program files tinydhcpserver.C and program routines lwip_dhcp_find_option.\n\nThis issue affects Advanced Software Framework: through 3.52.0.2574.\n\n\nASF is no longer being supported. Apply provided workaround or migrate to an actively maintained framework.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.5,"severity":"CRITICAL","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01377,"percentile":0.7274,"provenance":"source"},"cwes":[{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"references":[{"url":"https://www.microchip.com/en-us/tools-resources/develop/libraries/advanced-software-framework","tags":["product"]},{"url":"https://www.kb.cert.org/vuls/id/138043","tags":[]}],"priority":{"score":21.2,"factors":[{"name":"EPSS percentile","points":14.55},{"name":"CVSS severity","points":6.65}]},"vendorSlug":"microchip-techology","affectedVersions":[{"vendor":"Microchip Techology","product":"Advanced Software Framework","versions":["<= 3.52.0.2574"]}],"solutions":{"items":["ASF is no longer being supported. Apply provided workaround or migrate to an actively maintained framework."],"from":"CVE.org CNA","provenance":"source"},"workarounds":{"items":["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"],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-100","name":"Overflow Buffers"}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-08T16:25:23.040865Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2024-48404","exploited":false,"provenance":"source"}}