Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-36370

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-36370
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 11:50 UTC · Revision 1

Source evidence

CVE-2021-36370

core-osv · Original source

Published 30 Aug 2021, 19:15 UTC

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.

osv:CVE-2021-36370
Complete source record
{
  "id": "c67690b9bb144c3406feb156c0d9ac439022011525d3bf36abc0c839ab343097",
  "url": "https://osv.dev/vulnerability/CVE-2021-36370",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-36370",
    "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.",
    "evidence": "osv:CVE-2021-36370",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2021-36370",
      "aliases": [
        "CVE-2021-36370"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/midnightcommander/mc",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "a88a626e76139259e5b6fc0db39045f051e243dd"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:midnight-commander:midnight_commander:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "4.8.26"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.8.26",
            "4.8.25",
            "4.8.24",
            "4.8.23",
            "4.8.22",
            "4.8.21",
            "4.8.20",
            "4.8.19",
            "4.8.18",
            "4.8.17",
            "4.8.16",
            "4.8.15",
            "4.8.14",
            "4.8.13",
            "4.8.12",
            "4.8.11",
            "4.8.10",
            "4.8.9",
            "4.8.8",
            "4.8.7",
            "4.8.6",
            "4.8.5",
            "4.8.4",
            "4.8.3",
            "4.8.2",
            "4.8.1",
            "4.8.0",
            "4.8.0-pre2",
            "4.8.0-pre1",
            "4.7.5",
            "4.7.5-pre1",
            "4.7.4",
            "4.7.3",
            "4.7.2",
            "4.7.1",
            "4.7.0.1",
            "4.7.0",
            "4.7.0-pre4",
            "4.7.0-pre3",
            "4.7.0-pre2",
            "4.7.0-pre1",
            "4.6.99.3",
            "4.6.99.2",
            "4.6.99.1",
            "4.6.99",
            "4.6.2-pre1",
            "4.6.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-36370.json"
          }
        }
      ],
      "modified": "2026-10-20T10:54:49.402172951Z",
      "provider": "osv",
      "references": [
        "https://mail.gnome.org/archives/mc-devel/2021-August/msg00008.html",
        "https://midnight-commander.org/",
        "https://sourceforge.net/projects/mcwin32/files/",
        "https://docs.ssh-mitm.at/CVE-2021-36370.html",
        "https://github.com/MidnightCommander/mc/blob/5c1d3c55dd15356ec7d079084d904b7b0fd58d3e/src/vfs/sftpfs/connection.c#L484",
        "https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-36370",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 386212,
  "published_at": "2021-08-30T19:15:08.917+00:00"
}