Bug 2166913

Summary: openssh: PermitRemoteOpen option incorrectly assigns permission list
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Nobody <nobody>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: bdettelb, caswilli, dbelyavs, dffrench, dfreiber, dkuc, fjansen, gzaronik, hkataria, jburrell, jjelen, jkoehler, jmitchel, jtanner, jwon, kaycoth, kshier, micjohns, ngough, psegedy, rgodfrey, rogbas, sthirugn, tsasak, vkrizan, vkumar
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: openssh 9.2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2166917    

Description Pedro Sampaio 2023-02-03 13:43:02 UTC
In OpenSSH releases after 8.7, the PermitRemoteOpen option would ignore its first argument unless it was one of the special keywords "any" or "none", causing the permission list to fail open if only one permission was specified.

Upstream bug:

https://bugzilla.mindrot.org/show_bug.cgi?id=3515

References:

https://www.openssh.com/releasenotes.html