CVE-2024-25331 Memory corruption in n/a

Critical 9.3 Published Updated

An attacker on the local network can execute arbitrary code on D-Link DIR-822 routers via a stack-based buffer overflow in HNAP.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-25331?

CVE-2024-25331 is a critical memory corruption vulnerability in n/a, published on 12 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

DIR-822 Rev. B Firmware v2.02KRB09 and DIR-822-CA Rev. B Firmware v2.03WWb01 suffer from a LAN-Side Unauthenticated Remote Code Execution (RCE) vulnerability elevated from HNAP Stack-Based Buffer Overflow.

Weakness: CWE-121

Which versions are affected by CVE-2024-25331?

How do I fix CVE-2024-25331?

No fix has been published for CVE-2024-25331 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-2024-25331 being exploited?

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

Sources

Also known as GHSA-gp58-x96h-756r.

Is CVE-2024-25331 in your software?

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

Check your SBOMs for free