Anolis OS update for rpm



| Updated: 2025-03-28
Risk Low
Patch available YES
Number of vulnerabilities 5
CVE-ID CVE-2021-35937
CVE-2017-7500
CVE-2017-7501
CVE-2021-35938
CVE-2021-35939
CWE-ID CWE-367
CWE-59
Exploitation vector Local
Public exploit N/A
Vulnerable software
Anolis OS
Operating systems & Components / Operating system

rpm-cron
Operating systems & Components / Operating system package or component

rpm-apidocs
Operating systems & Components / Operating system package or component

rpm-sign
Operating systems & Components / Operating system package or component

rpm-plugin-systemd-inhibit
Operating systems & Components / Operating system package or component

rpm-plugin-syslog
Operating systems & Components / Operating system package or component

rpm-plugin-selinux
Operating systems & Components / Operating system package or component

rpm-plugin-prioreset
Operating systems & Components / Operating system package or component

rpm-plugin-ima
Operating systems & Components / Operating system package or component

rpm-plugin-fapolicyd
Operating systems & Components / Operating system package or component

rpm-libs
Operating systems & Components / Operating system package or component

rpm-devel
Operating systems & Components / Operating system package or component

rpm-build-libs
Operating systems & Components / Operating system package or component

rpm-build
Operating systems & Components / Operating system package or component

rpm
Operating systems & Components / Operating system package or component

python3-rpm
Operating systems & Components / Operating system package or component

Vendor OpenAnolis

Security Bulletin

This security bulletin contains information about 5 vulnerabilities.

1) Time-of-check Time-of-use (TOCTOU) Race Condition

EUVDB-ID: #VU79522

Risk: Low

CVSSv4.0: 4.8 [CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-35937

CWE-ID: CWE-367 - Time-of-check Time-of-use (TOCTOU) Race Condition

Exploit availability: No

Description

The vulnerability allows a local privileged user to escalate privileges on the system.

The vulnerability exist due to race condition. A local privileged user can bypass the checks that were introduced in response to CVE-2017-7500 and CVE-2017-7501, potentially gaining root privileges.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rpm-cron: before 4.14.3-27.0.5

rpm-apidocs: before 4.14.3-27.0.5

rpm-sign: before 4.14.3-27.0.5

rpm-plugin-systemd-inhibit: before 4.14.3-27.0.5

rpm-plugin-syslog: before 4.14.3-27.0.5

rpm-plugin-selinux: before 4.14.3-27.0.5

rpm-plugin-prioreset: before 4.14.3-27.0.5

rpm-plugin-ima: before 4.14.3-27.0.5

rpm-plugin-fapolicyd: before 4.14.3-27.0.5

rpm-libs: before 4.14.3-27.0.5

rpm-devel: before 4.14.3-27.0.5

rpm-build-libs: before 4.14.3-27.0.5

rpm-build: before 4.14.3-27.0.5

rpm: before 4.14.3-27.0.5

python3-rpm: before 4.14.3-27.0.5

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0081


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

2) Link following

EUVDB-ID: #VU31245

Risk: Low

CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2017-7500

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows a local authenticated user to execute arbitrary code.

It was found that rpm did not properly handle RPM installations when a destination path was a symbolic link to a directory, possibly changing ownership and permissions of an arbitrary directory, and RPM files being placed in an arbitrary destination. An attacker, with write access to a directory in which a subdirectory will be installed, could redirect that directory to an arbitrary location and gain root privilege.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rpm-cron: before 4.14.3-27.0.5

rpm-apidocs: before 4.14.3-27.0.5

rpm-sign: before 4.14.3-27.0.5

rpm-plugin-systemd-inhibit: before 4.14.3-27.0.5

rpm-plugin-syslog: before 4.14.3-27.0.5

rpm-plugin-selinux: before 4.14.3-27.0.5

rpm-plugin-prioreset: before 4.14.3-27.0.5

rpm-plugin-ima: before 4.14.3-27.0.5

rpm-plugin-fapolicyd: before 4.14.3-27.0.5

rpm-libs: before 4.14.3-27.0.5

rpm-devel: before 4.14.3-27.0.5

rpm-build-libs: before 4.14.3-27.0.5

rpm-build: before 4.14.3-27.0.5

rpm: before 4.14.3-27.0.5

python3-rpm: before 4.14.3-27.0.5

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0081


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

3) Link following

EUVDB-ID: #VU31396

Risk: Low

CVSSv4.0: 5.9 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2017-7501

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows a local authenticated user to execute arbitrary code.

It was found that versions of rpm before 4.13.0.2 use temporary files with predictable names when installing an RPM. An attacker with ability to write in a directory where files will be installed could create symbolic links to an arbitrary location and modify content, and possibly permissions to arbitrary files, which could be used for denial of service or possibly privilege escalation.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rpm-cron: before 4.14.3-27.0.5

rpm-apidocs: before 4.14.3-27.0.5

rpm-sign: before 4.14.3-27.0.5

rpm-plugin-systemd-inhibit: before 4.14.3-27.0.5

rpm-plugin-syslog: before 4.14.3-27.0.5

rpm-plugin-selinux: before 4.14.3-27.0.5

rpm-plugin-prioreset: before 4.14.3-27.0.5

rpm-plugin-ima: before 4.14.3-27.0.5

rpm-plugin-fapolicyd: before 4.14.3-27.0.5

rpm-libs: before 4.14.3-27.0.5

rpm-devel: before 4.14.3-27.0.5

rpm-build-libs: before 4.14.3-27.0.5

rpm-build: before 4.14.3-27.0.5

rpm: before 4.14.3-27.0.5

python3-rpm: before 4.14.3-27.0.5

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0081


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

4) Link following

EUVDB-ID: #VU79521

Risk: Low

CVSSv4.0: 5.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-35938

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows a local privileged user to escalate privileges on the system.

The vulnerability occurs when rpm sets the desired permissions and credentials after installing a file. A local privileged user can use this flaw to exchange the original file with a symbolic link to a security-critical file and escalate their privileges on the system.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rpm-cron: before 4.14.3-27.0.5

rpm-apidocs: before 4.14.3-27.0.5

rpm-sign: before 4.14.3-27.0.5

rpm-plugin-systemd-inhibit: before 4.14.3-27.0.5

rpm-plugin-syslog: before 4.14.3-27.0.5

rpm-plugin-selinux: before 4.14.3-27.0.5

rpm-plugin-prioreset: before 4.14.3-27.0.5

rpm-plugin-ima: before 4.14.3-27.0.5

rpm-plugin-fapolicyd: before 4.14.3-27.0.5

rpm-libs: before 4.14.3-27.0.5

rpm-devel: before 4.14.3-27.0.5

rpm-build-libs: before 4.14.3-27.0.5

rpm-build: before 4.14.3-27.0.5

rpm: before 4.14.3-27.0.5

python3-rpm: before 4.14.3-27.0.5

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0081


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.

5) Link following

EUVDB-ID: #VU79523

Risk: Low

CVSSv4.0: 5.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear]

CVE-ID: CVE-2021-35939

CWE-ID: CWE-59 - Improper Link Resolution Before File Access ('Link Following')

Exploit availability: No

Description

The vulnerability allows a local privileged user to escalate privileges on the system.

The vulnerability exist due to 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 privileged user who owns another ancestor directory could potentially use this flaw to gain root privileges.

Mitigation

Install updates from vendor's repository.

Vulnerable software versions

Anolis OS: 8

rpm-cron: before 4.14.3-27.0.5

rpm-apidocs: before 4.14.3-27.0.5

rpm-sign: before 4.14.3-27.0.5

rpm-plugin-systemd-inhibit: before 4.14.3-27.0.5

rpm-plugin-syslog: before 4.14.3-27.0.5

rpm-plugin-selinux: before 4.14.3-27.0.5

rpm-plugin-prioreset: before 4.14.3-27.0.5

rpm-plugin-ima: before 4.14.3-27.0.5

rpm-plugin-fapolicyd: before 4.14.3-27.0.5

rpm-libs: before 4.14.3-27.0.5

rpm-devel: before 4.14.3-27.0.5

rpm-build-libs: before 4.14.3-27.0.5

rpm-build: before 4.14.3-27.0.5

rpm: before 4.14.3-27.0.5

python3-rpm: before 4.14.3-27.0.5

CPE2.3 External links

https://anas.openanolis.cn/errata/detail/ANSA-2024:0081


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.



###SIDEBAR###