CVE-2019-6258 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in D-Link DIR-822 routers allows remote attackers to execute arbitrary code via a crafted HNAP message.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2019-6258?

CVE-2019-6258 is a critical memory corruption vulnerability in n/a, published on 18 Aug 2020. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

D-Link DIR-822 Rev.Bx devices with firmware v.202KRb06 and older allow a buffer overflow via long MacAddress data in a /HNAP1/SetClientInfo HNAP protocol message, which is mishandled in /usr/sbin/udhcpd during reading of the /var/servd/LAN-1-udhcpd.conf file.

Weakness: CWE-120

Which versions are affected by CVE-2019-6258?

It affects 1 product.

Products include D-Link Dir-822 Firmware.

How do I fix CVE-2019-6258?

No fix has been published for CVE-2019-6258 yet. Limit exposure of the affected software until one is available.

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

Is CVE-2019-6258 being exploited?

There is no known exploitation of CVE-2019-6258 in the wild and no public exploit code.

Sources

Also known as GHSA-2jv7-c5x2-xf95.

Is CVE-2019-6258 in your software?

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

Check your SBOMs for free