CVE-2021-35937: A race condition vulnerability was found in rpm. A local unprivileged user could use this flaw to bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. RedHat bug says this will be in 4.18: https://bugzilla.redhat.com/show_bug.cgi?id=1964125 https://rpm.org/wiki/Releases/4.18.0 CVE-2021-35938: A symbolic link issue was found in rpm. It occurs when rpm sets the desired permissions and credentials after installing a file. A local unprivileged user could use this flaw to exchange the original file with a symbolic link to a security-critical file and escalate their privileges on the system. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. RedHat bug: https://bugzilla.redhat.com/show_bug.cgi?id=1964114): Patch in 4.18: https://github.com/rpm-software-management/rpm/commit/25a435e90844ea98fe5eb7bef22c1aecf3a9c033
CVE-2021-35939: It was found that the fix for CVE-2017-7500 and CVE-2017-7501 was incomplete: the check was only implemented for the parent directory of the file to be created. A local unprivileged user who owns another ancestor directory could potentially use this flaw to gain root privileges. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability. RedHat bug: https://bugzilla.redhat.com/show_bug.cgi?id=1964129 Patch is in 4.18.0: https://github.com/rpm-software-management/rpm/commit/96ec957e281220f8e137a2d5eb23b83a6377d556
GLSA request filed.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dbbdcdb43b2c2dab997bc818c96b315e48fff77 commit 1dbbdcdb43b2c2dab997bc818c96b315e48fff77 Author: John Helmert III <ajak@gentoo.org> AuthorDate: 2022-10-25 21:37:09 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-10-25 21:55:39 +0000 app-arch/rpm: drop 4.17.1 Bug: https://bugs.gentoo.org/866716 Signed-off-by: John Helmert III <ajak@gentoo.org> app-arch/rpm/Manifest | 1 - app-arch/rpm/rpm-4.17.1.ebuild | 161 ----------------------------------------- 2 files changed, 162 deletions(-)
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/data/glsa.git/commit/?id=d1fba8b4347d1cc39def2710ba7880b64f060ea2 commit d1fba8b4347d1cc39def2710ba7880b64f060ea2 Author: GLSAMaker <glsamaker@gentoo.org> AuthorDate: 2022-10-31 01:15:56 +0000 Commit: John Helmert III <ajak@gentoo.org> CommitDate: 2022-10-31 01:40:15 +0000 [ GLSA 202210-22 ] RPM: Multiple Vulnerabilities Bug: https://bugs.gentoo.org/830380 Bug: https://bugs.gentoo.org/866716 Signed-off-by: GLSAMaker <glsamaker@gentoo.org> Signed-off-by: John Helmert III <ajak@gentoo.org> glsa-202210-22.xml | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+)
GLSA released, all done!