Bug 13801

Summary: [CVE 21] rpm 4.17.0 CVEs found
Product: [ROSA-based products] ROSA Fresh Reporter: Yury <y.tumanov>
Component: System (kernel, glibc, systemd, bash, PAM...)Assignee: ROSA Linux Bugs <bugs>
Status: RESOLVED DUPLICATE QA Contact: ROSA Linux Bugs <bugs>
Severity: normal    
Priority: Normal CC: e.kosachev, s.matveev, v.potapov, y.tumanov
Version: All   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: CVE-2021-3521, CVE-2021-35937, CVE-2021-35938, CVE-2021-35939,
Whiteboard:
Platform: 2021.1 ROSA Vulnerability identifier:
RPM Package: ISO-related:
Bad POT generating: Upstream:

Description Yury 2023-10-18 20:05:46 MSK
Please patch CVEs for package rpm version 4.17.0
  
INFO (CVEs are): rpm 4.17.0
 cves found
CVE-2021-3521
Desc: There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated with a primary key via a "binding signature." RPM does not check the binding signature of subkeys prior to importing them. If an attacker is able to add or socially engineer another party to add a malicious subkey to a legitimate public key, RPM could wrongly trust a malicious signature. The greatest impact of this flaw is to data integrity. To exploit this flaw, an attacker must either compromise an RPM repository or convince an administrator to install an untrusted RPM or public key. It is strongly recommended to only use RPMs and public keys from trusted sources.
Link: https://nvd.nist.gov/vuln/detail/CVE-2021-3521
Severity: MEDIUM
CVE-2021-35937
Desc: 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.
Link: https://nvd.nist.gov/vuln/detail/CVE-2021-35937
Severity: MEDIUM
CVE-2021-35938
Desc: 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.
Link: https://nvd.nist.gov/vuln/detail/CVE-2021-35938
Severity: MEDIUM
CVE-2021-35939
Desc: 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.
Link: https://nvd.nist.gov/vuln/detail/CVE-2021-35939
Severity: MEDIUM
Comment 1 Vladimir Potapov 2023-10-20 11:47:54 MSK

*** This bug has been marked as a duplicate of bug 13307 ***