CVE-2021-36368
What it is
An issue was discovered in OpenSSH before 8.9. If a client is using public-key authentication with agent forwarding but without -oLogLevel=verbose, and an attacker has silently modified the server to support the None authentication option, then the user cannot determine whether FIDO authentication is going to confirm that the user wishes to connect to that server, or that the user wishes to allow that server to connect to a different server on the user's behalf. NOTE: the vendor's position is "this is not an authentication bypass, since nothing is being bypassed.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 1.7% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 1.7% in the next 30 days (EPSS).
- Severity: 3.7 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.7% · EPSS, next 30 days
- Weakness
- CWE-287 · Improper authentication
- Record status
- Modified
Affected
- Openbsd OpenSSH < 8.9
- Debian Linux 9.0
- Debian Linux 10.0
- Debian Linux 11.0
Attack profile CVSS 3.1 · 3.7
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2021-36368.md and follow it. Check whether this project is affected by CVE-2021-36368. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- https://github.com/openssh/openssh-portable/pull/258
- https://www.openssh.com/security.html
- https://github.com/openssh/openssh-portable/pull/258
- https://www.openssh.com/security.html
References
- https://bugzilla.mindrot.org/show_bug.cgi?id=3316
- https://docs.ssh-mitm.at/trivialauth.html
- https://github.com/openssh/openssh-portable/pull/258
- https://security-tracker.debian.org/tracker/CVE-2021-36368
- https://www.openssh.com/security.html
- https://bugzilla.mindrot.org/show_bug.cgi?id=3316
- https://docs.ssh-mitm.at/trivialauth.html
- https://github.com/openssh/openssh-portable/pull/258
- https://security-tracker.debian.org/tracker/CVE-2021-36368
- https://www.openssh.com/security.html