URL: https://github.com/SSSD/sssd/pull/5758
Author: alexey-tikhonov
Title: #5758: file utils: reduce log level in remove_tree_with_ctx()
Action: opened
PR body:
"""
Users of this function are responsible to decide if fail is critical.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5758/head:pr5758
git checkout pr5758
URL: https://github.com/SSSD/sssd/pull/5745
Author: sumit-bose
Title: #5745: cache_req: cache_first fix for fully-qualified names
Action: opened
PR body:
"""
With commit b572871236a7f9059d375a5ab1bff8cbfd519956 "cache_req:
introduce cache_behavior enumeration" the processing of cache and
backend lookups was refactored. Unfortunately this introduce an issue
when looking up users or groups with a fully-qualified name and the
'cache_first = True' option is set.
In the old code the case when a domain name is available was handle
before the cache_first first option was evaluated and cache_req was
instructed to first look in the cache and then call the backend if the
object is not available or expired, i.e. the default behavior. Since
only a single domain is involved this is in agreement with 'cache_first
= True' and only a single iteration is needed.
In the new code the cache_first option is evaluated before the presence
of a domain name is checked and as a result even for single domain
searches the first cache_req iteration is only looking at the cache and
will not call the backend. This means the now for searches with a
fully-qualified name a second iteration is needed if the object was not
found in the cache.
Unfortunately the old exit condition that if a domain name is present
only a single iteration is needed is still present in the new code which
effectively makes requests with fully-qualified named only search the
cache and never call the backends. This patch removes the exit condition
and does a second iteration for fully-qualified names as well if
'cache_first = True' is set.
Resolves: https://github.com/SSSD/sssd/issues/5744
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5745/head:pr5745
git checkout pr5745
URL: https://github.com/SSSD/sssd/pull/5748
Author: alexey-tikhonov
Title: #5748: TOOLS: replace system() with execvp()
Action: opened
PR body:
"""
to avoid execution of user supplied command
A flaw was found in SSSD, where the sssctl command was vulnerable
to shell command injection via the logs-fetch and cache-expire
subcommands. This flaw allows an attacker to trick the root user
into running a specially crafted sssctl command, such as via sudo,
to gain root access. The highest threat from this vulnerability is
to confidentiality, integrity, as well as system availability.
:fixes: CVE-2021-3621
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5748/head:pr5748
git checkout pr5748
URL: https://github.com/SSSD/sssd/pull/5747
Author: elkoniu
Title: #5747: general: Fix compilation warnings
Action: opened
PR body:
"""
Commit 44525a9995c775ac284a6203d0e505dc4bf0d459 introduced
compilation warnings related to type casting.
This commit fixes this by align types of pointer used in code.
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5747/head:pr5747
git checkout pr5747
URL: https://github.com/SSSD/sssd/pull/5749
Author: alexey-tikhonov
Title: #5749: 1.16: TOOLS: replace system() with execvp()
Action: opened
PR body:
"""
to avoid execution of user supplied command
A flaw was found in SSSD, where the sssctl command was vulnerable
to shell command injection via the logs-fetch and cache-expire
subcommands. This flaw allows an attacker to trick the root user
into running a specially crafted sssctl command, such as via sudo,
to gain root access. The highest threat from this vulnerability is
to confidentiality, integrity, as well as system availability.
:fixes: CVE-2021-3621
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5749/head:pr5749
git checkout pr5749
URL: https://github.com/SSSD/sssd/pull/5705
Author: assafmo
Title: #5705: p11_child: do_card fix loop exit condition
Action: opened
PR body:
"""
This commit fixes the exit condition when searching for a token in p11_child/do_card, specifically in case a token is present in a slot, but there are empty slots before it.
This commit fixes issue #5025, thanks to this comment by @sumit-bose: https://github.com/SSSD/sssd/issues/5025#issuecomment-801842175
Closes #5025
"""
To pull the PR as Git branch:
git remote add ghsssd https://github.com/SSSD/sssd
git fetch ghsssd pull/5705/head:pr5705
git checkout pr5705