Mailing List Archive

[Bug 1471] New: sshd can block if authorized_keys is a named pipe
https://bugzilla.mindrot.org/show_bug.cgi?id=1471

Summary: sshd can block if authorized_keys is a named pipe
Classification: Unclassified
Product: Portable OpenSSH
Version: 4.7p1
Platform: All
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P2
Component: sshd
AssignedTo: bitbucket@mindrot.org
ReportedBy: cjwatson@debian.org


Solar Designer noticed indirectly that sshd child processes (and
probably other parts of OpenSSH) can block if ~/.ssh/authorized_keys is
a named pipe with an open writer. Perhaps it would be worth checking
S_ISREG before trying to open a key file?

(I'm hoping nobody is actually relying on this as a feature. I can't
imagine how you'd do so reliably.)

--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs