CVE-2018-0172 Cisco IOS and IOS XE Software Improper Input Validation

Exploited in the wild High 8.6 Published Updated

Remote attackers can cause a denial of service on Cisco IOS devices by sending crafted DHCPv4 packets that trigger a heap overflow.

Exploited in the wild
Since 3 Mar 2022
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-0172?

CVE-2018-0172 is a high-severity memory corruption vulnerability in Cisco Ios, published on 28 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability in the DHCP option 82 encapsulation functionality of Cisco IOS Software and Cisco IOS XE Software could allow an unauthenticated, remote attacker to cause an affected device to reload, resulting in a denial of service (DoS) condition. The vulnerability exists because the affected software performs incomplete input validation of option 82 information that it receives in DHCP Version 4 (DHCPv4) packets from DHCP relay agents. An attacker could exploit this vulnerability by sending a crafted DHCPv4 packet to an affected device. A successful exploit could allow the attacker to cause a heap overflow condition on the affected device, which will cause the device to reload and result in a DoS condition. Cisco Bug IDs: CSCvg62730.

Weakness: CWE-787, CWE-20

Which versions are affected by CVE-2018-0172?

It affects 2 products.

Products include Cisco Ios, Cisco Ios Xe.

How do I fix CVE-2018-0172?

No fix has been published for CVE-2018-0172 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 17 Mar 2022.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2018-0172 being exploited?

Yes. Attackers have exploited CVE-2018-0172 in the wild since at least 3 Mar 2022.

All Cisco Ios vulnerabilities

Sources

Also known as GHSA-7f45-f5vf-rrpw.

Is CVE-2018-0172 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free