HomeFreeBSD

OpenSSH: cherry-pick "need initgroups() before setresgid()"

Description

OpenSSH: cherry-pick "need initgroups() before setresgid()"

From openssh-portable commits f3cbe43e28fe and bf944e3794ef, backported
to OpenSSH 7.9p1 on stable/13 [and stable/12].

Reviewed by: delphij
Security: CVE-2021-41617
Differential Revision: https://reviews.freebsd.org/D32460

(cherry picked from commit 172fa4aa7577915bf5ace5783251821d3774dc05)
(cherry picked from commit be74669a2f62915f84b844bb00dd2767c60539fe)

Details

Provenance
emasteAuthored on Oct 12 2021, 12:47 AM
Reviewer
delphij
Differential Revision
D32460: OpenSSH: cherry-pick "need initgroups() before setresgid()"
Parents
rG2a16b0f333d4: libc: vDSO timekeeping: Add pvclock support
Branches
Unknown
Tags
Unknown