CVE-2021-40239 Memory corruption in n/a

Critical 9.8 Published Updated

A buffer overflow in Miniftpd's RETR command handler allows attackers to execute arbitrary code or crash the service.

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-40239?

CVE-2021-40239 is a critical memory corruption vulnerability in n/a, published on 11 Oct 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Buffer Overflow vulnerability exists in the latest version of Miniftpd in the do_retr function in ftpproto.c

Weakness: CWE-120

Which versions are affected by CVE-2021-40239?

It affects 1 product.

Products include Miniftpd Project Miniftpd.

How do I fix CVE-2021-40239?

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

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

Sources

Also known as GHSA-x5r4-hffg-79fr.

Is CVE-2021-40239 in your software?

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

Check your SBOMs for free