{"id":"CVE-2024-7490","state":"PUBLISHED","title":"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.\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.","publishedAt":"2024-08-08T15:01:09.055Z","updatedAt":"2025-08-29T20:23:53.142Z","severity":{"score":9.5,"label":"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","source":"Microchip"},"assigner":"Microchip","products":["Microchip Techology Advanced Software Framework"],"affected":[{"vendor":"Microchip Techology","product":"Advanced Software Framework","packageName":"lwip","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.52.0.2574","versionType":"semver"}],"collectionURL":"https://gallery.microchip.com/packages/4CE20911-D794-4550-8B94-6C66A93228B8/","modules":["network"],"programFiles":["tinydhcpserver.c"],"programRoutines":[{"name":"lwip_dhcp_find_option"}],"repo":"https://savannah.nongnu.org/projects/lwip/"}],"references":["https://www.microchip.com/en-us/tools-resources/develop/libraries/advanced-software-framework","https://www.kb.cert.org/vuls/id/138043"],"weaknesses":["CWE-120"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/7xxx/CVE-2024-7490.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-7490","state":"PUBLISHED","datePublished":"2024-08-08T15:01:09.055Z","dateUpdated":"2025-08-29T20:23:53.142Z","assignerShortName":"Microchip","assignerOrgId":"dc3f6da9-85b5-4a73-84a2-2ec90b40fca5","dateReserved":"2024-08-05T14:10:12.165Z"},"containers":{"cna":{"title":"Remote Code Execution in Advanced Software Framework DHCP server","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Microchip Techology","product":"Advanced Software Framework","packageName":"lwip","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.52.0.2574","versionType":"semver"}],"collectionURL":"https://gallery.microchip.com/packages/4CE20911-D794-4550-8B94-6C66A93228B8/","modules":["network"],"programFiles":["tinydhcpserver.c"],"programRoutines":[{"name":"lwip_dhcp_find_option"}],"repo":"https://savannah.nongnu.org/projects/lwip/"}],"references":[{"url":"https://www.microchip.com/en-us/tools-resources/develop/libraries/advanced-software-framework","tags":["product"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9.5,"baseSeverity":"CRITICAL","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-120","description":"CWE-120 Buffer Copy without Checking Size of Input ('Classic Buffer Overflow')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"Microchip","orgId":"dc3f6da9-85b5-4a73-84a2-2ec90b40fca5","dateUpdated":"2025-08-29T20:23:53.142Z"},"configurations":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"Use of the lwip stack embedded in ASF, and using the example DHCP server provided.<br>"}],"value":"Use of the lwip stack embedded in ASF, and using the example DHCP server provided."}],"credits":[{"lang":"en","type":"reporter","value":"element55"}],"datePublic":"2024-08-05T07:00:00.000Z","impacts":[{"capecId":"CAPEC-100","descriptions":[{"lang":"en","value":"CAPEC-100 Overflow Buffers"}]}],"solutions":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"ASF is no longer being supported. Apply provided workaround or migrate to an actively maintained framework.<br>"}],"value":"ASF is no longer being supported. Apply provided workaround or migrate to an actively maintained framework."}],"source":{"advisory":"PSIRT-23","discovery":"EXTERNAL"},"tags":["unsupported-when-assigned"],"workarounds":[{"lang":"en","supportingMedia":[{"base64":false,"type":"text/html","value":"<div>\nThe issue can be mitigated by adding a check to the size variable after the call [1] to pbuf_get_at on line 127 [1].\n If the size variable is not 4, then the function should cease \nprocessing and return. The lwip_dhcp_find_option function is only used \nto find this one option. <br></div><div><br></div>\n<p> [1] <a target=\"_blank\" rel=\"nofollow\" href=\"https://github.com/alfred-ai/microchip-asf/blob/bf5205e36a265b867d531647ffbf2de5e287853a/thirdparty/lwip/lwip-tinyservices/tinydhcpserver.c#L127\">https://github.com/alfred-ai/microchip-asf/blob/bf5205e36a265b867d531647ffbf2de5e287853a/thirdparty/lwip/lwip-tinyservices/tinydhcpserver.c#L127</a></p>\n\n<br>"}],"value":"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].\n If the size variable is not 4, then the function should cease \nprocessing and return. The lwip_dhcp_find_option function is only used \nto find this one option. \n\n\n\n\n\n\n [1]  https://github.com/alfred-ai/microchip-asf/blob/bf5205e36a265b867d531647ffbf2de5e287853a/thirdparty/lwip/lwip-tinyservices/tinydhcpserver.c#L127"}],"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"microchip","product":"advanced_software_framework","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.52.0.2574","versionType":"semver"}],"cpes":["cpe:2.3:a:microchip:advanced_software_framework:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-08T16:25:23.040865Z","id":"CVE-2024-7490","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-08T16:30:11.768Z"}},{"title":"CVE Program Container","references":[{"url":"https://www.kb.cert.org/vuls/id/138043"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-19T13:06:47.103Z"}}]}}}