Skip to content
Fencer Vulns
high 7.5

CVE-2021-36370 json

An issue was discovered in Midnight Commander through 4.8.26.

published 2021-08-30 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-22990

cvss
7.5
version 3.1, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.0%
EPSS 2.0% chance of exploitation in 30 days, percentile 80%
public exploits
0
none known

Summary

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.

Patch / fix

  • mc Debian 14, Debian 13, Debian 12 3:4.8.27-1

debian advisories DEBIAN-CVE-2021-36370

  • mc Ubuntu 22.04 LTS 3:4.8.27-1
  • mc Ubuntu Pro 14.04 LTS 3:4.8.11-1ubuntu0.1~esm1
  • mc Ubuntu Pro 16.04 LTS 3:4.8.15-2ubuntu0.1~esm1
  • mc Ubuntu Pro 18.04 LTS 3:4.8.19-1ubuntu0.1~esm1
  • mc Ubuntu Pro 20.04 LTS 3:4.8.24-2ubuntu1+esm1

ubuntu advisories UBUNTU-CVE-2021-36370

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • mc openSUSE Tumbleweed 4.8.27-1.1
  • mc Package Hub 15 SP3, openSUSE Leap 15.3 4.8.27-bp153.2.3.1

opensuse advisories openSUSE-SU-2024:11580-1openSUSE-SU-2022:0061-1

  • mc CBL-Mariner 2.0 4.8.27-1

azure linux advisories AZL-6678

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

  • mc Arch Linux 4.8.27-1

arch linux advisories AVG-2330

Exploit prediction

1.99% chance of exploitation in the next 30 days, higher than 80% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c referenced PoC, tagged "exploit" by a source, unverified
  • github.com https://github.com/MidnightCommander/mc/blob/5c1d3c55dd15356ec7d079084d904b7b0fd58d3e/src/vfs/sftpfs/connection.c#L484 referenced PoC, tagged "exploit" by a source, unverified
  • docs.ssh-mitm.at https://docs.ssh-mitm.at/CVE-2021-36370.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 2.0 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

Weakness

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.