| Summary: | PermitRemoteOpen not behaving as expected | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Portable OpenSSH | Reporter: | Georges Chaudy <georges.chaudy> | ||||
| Component: | ssh | Assignee: | Damien Miller <djm> | ||||
| Status: | CLOSED FIXED | ||||||
| Severity: | security | CC: | djm, dtucker | ||||
| Priority: | P5 | ||||||
| Version: | 9.1p1 | ||||||
| Hardware: | amd64 | ||||||
| OS: | Mac OS X | ||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 3480 | ||||||
| Attachments: |
|
||||||
|
Description
Georges Chaudy
2022-12-31 02:42:43 AEDT
Created attachment 3647 [details]
don't consume first PermitRemoteOpen argument
It's a bug. The parsing code for PermitRemoteOpen erroneously consumes its first argument to look for the special "any/none" keywords and doesn't record it if it isn't one of those.
We will be flagging this as a security bug in the next release.
Workaround: specify the first PermitRemoteOpen argument twice.
A separate problem is that we don't current have regression tests for PermitRemoteOpen
This has been applied and will be in OpenSSH 9.2 - thanks! OpenSSH 9.3 has been released. Close resolved bugs |