CVE-2021-36370 Security feature bypass in n/a

High 7.5 Published Updated

Midnight Commander fails to verify SFTP server fingerprints, allowing attackers to perform man-in-the-middle attacks without user detection.

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

What is CVE-2021-36370?

CVE-2021-36370 is a high-severity vulnerability in n/a, published on 30 Aug 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An issue was discovered in Midnight Commander through 4.8.26. When establishing an SFTP connection, the fingerprint of the server is neither checked nor displayed. As a result, a user connects to the server without the ability to verify its authenticity.

Weakness: CWE-287

Which versions are affected by CVE-2021-36370?

It affects 1 product.

Linux distribution packages (3)
mc SUSE:Package Hub 15 SP3All versions4.8.27-bp153.2.3.1
mc openSUSE:Leap 15.3All versions4.8.27-bp153.2.3.1
mc openSUSE:TumbleweedAll versions4.8.27-1.1

Products include Midnight-Commander Midnight Commander.

How do I fix CVE-2021-36370?

Upgrade to a fixed version.

Is CVE-2021-36370 being exploited?

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

Sources

Also known as AZL-6678, DEBIAN-CVE-2021-36370, GHSA-j8px-qjm3-fx72, MGASA-2022-0086, OESA-2022-1771, UBUNTU-CVE-2021-36370 and 3 more.

Is CVE-2021-36370 in your software?

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

Check your SBOMs for free