CVE-2021-31578 Memory corruption in EN7528, EN7580

Critical 9.8 Published Updated

A stack buffer overflow in MediaTek Boa allows remote attackers to escalate privileges without user interaction or additional execution rights.

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-2021-31578?

CVE-2021-31578 is a critical memory corruption vulnerability in MediaTek, Inc. EN7528, EN7580, published on 6 Feb 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

In Boa, there is a possible escalation of privilege due to a stack buffer overflow. This could lead to remote escalation of privilege from a proximal attacker with no additional execution privileges needed. User interaction is not needed for exploitation. Patch ID: A20210008; Issue ID: OSBNB00123241.

Weakness: CWE-787

Which versions are affected by CVE-2021-31578?

It affects 2 products.

Products include Mediatek En7528 Firmware, Mediatek En7580 Firmware.

How do I fix CVE-2021-31578?

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

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

Sources

Also known as GHSA-g6j9-m726-789h.

Is CVE-2021-31578 in your software?

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

Check your SBOMs for free