CVE-2021-36370
Publication date 30 August 2021
Last updated 25 August 2025
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| mc | ||
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Fixed 3:4.8.27-1
|
|
| 20.04 LTS focal |
Fixed 3:4.8.24-2ubuntu1+esm1
|
|
| 18.04 LTS bionic |
Fixed 3:4.8.19-1ubuntu0.1~esm1
|
|
| 16.04 LTS xenial |
Fixed 3:4.8.15-2ubuntu0.1~esm1
|
|
| 14.04 LTS trusty |
Fixed 3:4.8.11-1ubuntu0.1~esm1
|
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity impact | High |
| Availability impact | None |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-5160-1
- Midnight Commander vulnerability
- 9 August 2022
Other references
- https://github.com/MidnightCommander/mc/commit/9235d3c232d13ad7f973346077c9cf2eaa77dc5f
- 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://www.cve.org/CVERecord?id=CVE-2021-36370