# CVE-2021-36370

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-08-30 · Modified: 2024-08-04
- Aliases: MGASA-2022-0086, openSUSE-SU-2022:0061-1, UBUNTU-CVE-2021-36370, USN-5160-1, DEBIAN-CVE-2021-36370, openSUSE-SU-2024:11580-1
- Record: https://cvemate.com/vulnerability/CVE-2021-36370 · JSON: https://cvemate.com/vulnerability/CVE-2021-36370/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 1.99%, percentile 81.343%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 2 (github, reference)

## Affected

- debian mc (Debian): \< 3:4.8.27-1
- ubuntu mc (Ubuntu): \< 3:4.8.11-1ubuntu0.1~esm1 \| \< 3:4.8.15-2ubuntu0.1~esm1 \| \< 3:4.8.19-1ubuntu0.1~esm1 \| \< 3:4.8.24-2ubuntu1+esm1 \| \< 3:4.8.27-1
- mageia mc (Mageia): \< 4.8.27-1.mga8
- midnight-commander midnight\_commander: ≤ 4.8.26
- opensuse mc&distro=openSUSE Leap 15.3 (openSUSE): \< 4.8.27-bp153.2.3.1
- opensuse mc&distro=openSUSE Tumbleweed (openSUSE): \< 4.8.27-1.1
- suse mc&distro=SUSE Package Hub 15 SP3 (SUSE Linux Enterprise): \< 4.8.27-bp153.2.3.1

## References

- <https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c>
- <https://github.com/MidnightCommander/mc/blob/5c1d3c55dd15356ec7d079084d904b7b0fd58d3e/src/vfs/sftpfs/connection.c#L484>
- <https://sourceforge.net/projects/mcwin32/files/>
- <https://midnight-commander.org/>
- <https://docs.ssh-mitm.at/CVE-2021-36370.html>
- <https://mail.gnome.org/archives/mc-devel/2021-August/msg00008.html>
- <https://advisories.mageia.org/MGASA-2022-0086.html>
- <https://bugs.mageia.org/show_bug.cgi?id=30107>
- <https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5SJPZ2MSI7IPFCS5TFZZVXF4NN6XKYKJ/>
- <https://bugzilla.suse.com/1190180>
- <https://www.suse.com/security/cve/CVE-2021-36370>
- <https://ubuntu.com/security/CVE-2021-36370>
- <https://github.com/MidnightCommander/mc/commit/9235d3c232d13ad7f973346077c9cf2eaa77dc5f>
- <https://ubuntu.com/security/notices/USN-5160-1>
- <https://www.cve.org/CVERecord?id=CVE-2021-36370>
- <https://security-tracker.debian.org/tracker/CVE-2021-36370>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-36370>

---

Data as of 2026-12-05T04:47:26.235Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
