resource-agents-4.9.0-54.el8_10.4

エラータID: AXSA:2024-8815:06

Release date: 
Thursday, September 19, 2024 - 13:18
Subject: 
resource-agents-4.9.0-54.el8_10.4
Affected Channels: 
Asianux Server 8 for x86_64
Severity: 
Moderate
Description: 

The resource-agents packages provide the Pacemaker and RGManager service managers with a set of scripts. These scripts interface with several services to allow operating in a high-availability (HA) environment.

Security Fix(es):

* urllib3: proxy-authorization request header is not stripped during cross-origin redirects (CVE-2024-37891)
* pypa/setuptools: Remote code execution via download functions in the package_index module in pypa/setuptools (CVE-2024-6345)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

CVE-2024-37891
urllib3 is a user-friendly HTTP client library for Python. When using urllib3's proxy support with `ProxyManager`, the `Proxy-Authorization` header is only sent to the configured proxy, as expected. However, when sending HTTP requests *without* using urllib3's proxy support, it's possible to accidentally configure the `Proxy-Authorization` header even though it won't have any effect as the request is not using a forwarding proxy or a tunneling proxy. In those cases, urllib3 doesn't treat the `Proxy-Authorization` HTTP header as one carrying authentication material and thus doesn't strip the header on cross-origin redirects. Because this is a highly unlikely scenario, we believe the severity of this vulnerability is low for almost all users. Out of an abundance of caution urllib3 will automatically strip the `Proxy-Authorization` header during cross-origin redirects to avoid the small chance that users are doing this on accident. Users should use urllib3's proxy support or disable automatic redirects to achieve safe processing of the `Proxy-Authorization` header, but we still decided to strip the header by default in order to further protect users who aren't using the correct approach. We believe the number of usages affected by this advisory is low. It requires all of the following to be true to be exploited: 1. Setting the `Proxy-Authorization` header without using urllib3's built-in proxy support. 2. Not disabling HTTP redirects. 3. Either not using an HTTPS origin server or for the proxy or target origin to redirect to a malicious origin. Users are advised to update to either version 1.26.19 or version 2.2.2. Users unable to upgrade may use the `Proxy-Authorization` header with urllib3's `ProxyManager`, disable HTTP redirects using `redirects=False` when sending requests, or not user the `Proxy-Authorization` header as mitigations.
CVE-2024-6345
A vulnerability in the package_index module of pypa/setuptools versions up to 69.1.1 allows for remote code execution via its download functions. These functions, which are used to download packages from URLs provided by users or retrieved from package index servers, are susceptible to code injection. If these functions are exposed to user-controlled inputs, such as package URLs, they can execute arbitrary commands on the system. The issue is fixed in version 70.0.

Solution: 

Update packages.

Additional Info: 

N/A

Download: 

SRPMS
  1. resource-agents-4.9.0-54.el8_10.4.src.rpm
    MD5: cdc083015f7ae4011c19b74ee67b73cd
    SHA-256: f3bb9ae422caeb29852cdc47655beacee89cf59ed4aa5c76b55c4bb6ccb52624
    Size: 95.63 MB

Asianux Server 8 for x86_64
  1. resource-agents-4.9.0-54.el8_10.4.x86_64.rpm
    MD5: e49356ecb22a0bad4113592e922d31f9
    SHA-256: 6fa12f78350408f614d8397c00acb80ce853b3729d316693f1adf4fa9bba68fb
    Size: 544.62 kB
  2. resource-agents-aliyun-4.9.0-54.el8_10.4.x86_64.rpm
    MD5: e4e52682858cbfd981308067d613f8e8
    SHA-256: f90d899789ee564473b23432a810499109b37daf2a64d1b9baa9031ff500020c
    Size: 2.66 MB
  3. resource-agents-gcp-4.9.0-54.el8_10.4.x86_64.rpm
    MD5: 0cf9057bdc839942221cd3b9d9ff61b2
    SHA-256: 91f5c2edd2750d3cc76377ed610a01b7430d1a3e90528a3bd403d107fcb9ff34
    Size: 21.81 MB
  4. resource-agents-paf-4.9.0-54.el8_10.4.x86_64.rpm
    MD5: 1cf4c27f5dc0001c096d851e1488200c
    SHA-256: 67945e0782c307f0306d0fe926809e7c890698bc3d08788816e605b1c0473966
    Size: 74.66 kB