SB2021042938 - Arch Linux update for nimble
Published: April 29, 2021
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 3 vulnerabilities.
1) Code Injection (CVE-ID: CVE-2021-21372)
CWE-ID: CWE-94 - Improper Control of Generation of Code ('Code Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation in Nimble doCmd when processing entries in the packages.json package. A remote attacker can create a specially crafted entry in the packages.json file, trick the victim into loading the malicious package file and execute arbitrary code on the system.
2) Cleartext transmission of sensitive information (CVE-ID: CVE-2021-21373)
CWE-ID: CWE-319 - Cleartext Transmission of Sensitive Information
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to "nimble refresh" tries to fetch a list of Nimble packages over HTTP connection in case HTTPS connection fails. A remote attacker can perform MitM attack and deliver a modified package list containing malicious software packages
3) Improper Certificate Validation (CVE-ID: CVE-2021-21374)
CWE-ID: CWE-295 - Improper Certificate Validation
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
The vulnerability allows a remote attacker to perform MitM attack.
The vulnerability exists due to "nimble refresh" fetches a list of Nimble packages over HTTPS without full verification of the SSL/TLS certificate due to the default setting of httpClient. A remote attacker can perform MitM attack and deliver a modified package list containing malicious software packages
Remediation
Install update from vendor's website.