{"schemaVersion":3,"id":"CVE-2021-36370","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"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2021-08-30T18:37:23.000Z","modified":"2024-08-04T00:54:51.423Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0199,"percentile":0.80359,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0199},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0199,"percentile":0.80359}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.02129,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0199,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0199,"percentile":0.80359}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_MIDNIGHTCOMMANDER_MC","name":"Mc","source":"github","url":"https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null},{"id":"REF_62A6EF7C4E9EE220","name":"Exploit Reference (docs.ssh-mitm.at)","source":"reference","url":"https://docs.ssh-mitm.at/CVE-2021-36370.html","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":2,"weaknesses":[{"id":"CWE-287","name":"Improper Authentication","description":"When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/287.html"}],"affected":[{"vendor":"debian","product":"mc","name":"mc","label":"mc","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/mc","purlType":"deb","versions":[{"text":"< 3:4.8.27-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3:4.8.27-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"mc","name":"mc","label":"mc","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/mc","purlType":"deb","versions":[{"text":"< 3:4.8.11-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.8.15-2ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.8.19-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.8.24-2ubuntu1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3:4.8.27-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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","eol":null,"hubHref":null},{"vendor":"mageia","product":"mc","name":"mc","label":"mc","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/mc","purlType":"rpm","versions":[{"text":"< 4.8.27-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.27-1.mga8","eol":null,"hubHref":null},{"vendor":"midnight-commander","product":"midnight_commander","name":"midnight commander","label":"midnight_commander","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≤ 4.8.26","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.8.26","eol":null,"hubHref":"/vendor/midnight-commander/midnight_commander"},{"vendor":"opensuse","product":"mc&distro=openSUSE Leap 15.3","name":"mc","label":"mc&distro=openSUSE Leap 15.3","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/mc&distro=openSUSE Leap 15.3","purlType":"rpm","versions":[{"text":"< 4.8.27-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.27-bp153.2.3.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"mc&distro=openSUSE Tumbleweed","name":"mc","label":"mc&distro=openSUSE Tumbleweed","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/mc&distro=openSUSE Tumbleweed","purlType":"rpm","versions":[{"text":"< 4.8.27-1.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.27-1.1","eol":null,"hubHref":null},{"vendor":"suse","product":"mc&distro=SUSE Package Hub 15 SP3","name":"mc","label":"mc&distro=SUSE Package Hub 15 SP3","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/mc&distro=SUSE Package Hub 15 SP3","purlType":"rpm","versions":[{"text":"< 4.8.27-bp153.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 4.8.27-bp153.2.3.1","eol":null,"hubHref":null}],"affectedCount":7,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c","label":"github.com/MidnightCommander/mc/blob/master/src/vfs/sftpfs/connection.c","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://github.com/MidnightCommander/mc/blob/5c1d3c55dd15356ec7d079084d904b7b0fd58d3e/src/vfs/sftpfs/connection.c#L484","label":"github.com/MidnightCommander/…","hostname":"github.com","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://sourceforge.net/projects/mcwin32/files/","label":"sourceforge.net/projects/mcwin32/files/","hostname":"sourceforge.net","tags":["X Refsource MISC","REPORT","Product","Third Party Advisory"]},{"url":"https://midnight-commander.org/","label":"midnight-commander.org","hostname":"midnight-commander.org","tags":["X Refsource MISC","REPORT","Vendor Advisory"]},{"url":"https://docs.ssh-mitm.at/CVE-2021-36370.html","label":"docs.ssh-mitm.at/CVE-2021-36370.html","hostname":"docs.ssh-mitm.at","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://mail.gnome.org/archives/mc-devel/2021-August/msg00008.html","label":"mail.gnome.org/archives/mc-devel/2021-August/msg00008.html","hostname":"mail.gnome.org","tags":["X Refsource MISC","Release Notes","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2022-0086.html","label":"advisories.mageia.org/MGASA-2022-0086.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30107","label":"bugs.mageia.org/show_bug.cgi?id=30107","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/5SJPZ2MSI7IPFCS5TFZZVXF4NN6XKYKJ/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB","Advisory"]},{"url":"https://bugzilla.suse.com/1190180","label":"bugzilla.suse.com/1190180","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-36370","label":"www.suse.com/security/cve/CVE-2021-36370","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2021-36370","label":"ubuntu.com/security/CVE-2021-36370","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://github.com/MidnightCommander/mc/commit/9235d3c232d13ad7f973346077c9cf2eaa77dc5f","label":"github.com/MidnightCommander/mc/commit/9235d3c232d13ad7f973346077c9cf2eaa77dc5f","hostname":"github.com","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-5160-1","label":"ubuntu.com/security/notices/USN-5160-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-36370","label":"www.cve.org/CVERecord?id=CVE-2021-36370","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-36370","label":"security-tracker.debian.org/tracker/CVE-2021-36370","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-36370","label":"nvd.nist.gov/vuln/detail/CVE-2021-36370","hostname":"nvd.nist.gov","tags":["Oval","Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-08-30T18:37:23.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-04T00:54:51.423Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":40,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T14:47:15.071Z","stale":false,"partial":false}}