{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "versions": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "8.7"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "e1a596186c81e65a34ce13076449712d3bf97eb4"
            }
          ],
          "repo": "https://github.com/openssh/openssh-portable",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "OpenSSH through 8.7 allows remote attackers, who have a suspicion that a certain combination of username and public key is known to an SSH server, to test whether this suspicion is correct. This occurs because a challenge is sent only when that combination could be valid for a login session. NOTE: the vendor does not recognize user enumeration as a vulnerability for this product",
  "id": "CVE-2016-20012",
  "modified": "2026-04-01T23:08:45.990602702Z",
  "published": "2021-09-15T20:15:07.310Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://utcc.utoronto.ca/~cks/space/blog/tech/SSHKeysAreInfoLeak"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.openwall.com/lists/oss-security/2018/08/24/1"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.netapp.com/advisory/ntap-20211014-0005/"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/openssh/openssh-portable/pull/270#issuecomment-920577097"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/openssh/openssh-portable/pull/270#issuecomment-943909185"
    },
    {
      "type": "FIX",
      "url": "https://github.com/openssh/openssh-portable/pull/270"
    },
    {
      "type": "EVIDENCE",
      "url": "https://rushter.com/blog/public-ssh-keys/"
    },
    {
      "type": "EVIDENCE",
      "url": "https://github.com/openssh/openssh-portable/blob/d0fffc88c8fe90c1815c6f4097bc8cbcabc0f3dd/auth2-pubkey.c#L261-L265"
    }
  ],
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ]
}