- Issued:
- 2023-08-09
- Updated:
- 2023-08-09
RHSA-2023:4591 - Security Advisory
Synopsis
Moderate: RHUI 4.5.0 release - Security, Bug Fixes, and Enhancements
Type/Severity
Security Advisory: Moderate
Red Hat Insights patch analysis
Identify and remediate systems affected by this advisory.
Topic
An updated version of Red Hat Update Infrastructure (RHUI) is now available. RHUI 4.5 fixes several security and operational bugs and also adds several new features.
Description
Red Hat Update Infrastructure (RHUI) offers a highly scalable, highly redundant framework that enables you to manage repositories and content. It also enables cloud providers to deliver content and updates to Red Hat Enterprise Linux (RHEL) instances.
Security Fix(es):
- Django: Potential bypass of validation when uploading multiple files using a single form field (CVE-2023-31047)
- sqlparse: Parser contains a regular expression that is vulnerable to ReDOS (Regular Expression Denial of Service) (CVE-2023-30608)
This RHUI update fixes the following bugs:
- Previously, the `rhui-manager` command used the `logname` command to obtain the login name. However, when `rhui-manager` is run using the `rhui-repo-sync` cron job, a login name is not defined. Consequently, emails sent by the cron job contained the error message `logname: no login name`. With this update, `rhui-manager` does not obtain the login name using the `logname` command and the error message is no longer generated.
- Previously, when an invalid repository ID was used with the `rhui-manager` command to synchronize or delete a repository, the command failed with following error:
`An unexpected error has occurred during the last operation.`
Additionally, a traceback was also logged.
With this update, the error message has been improved and failure to run no longer logs a traceback.
This RHUI update introduces the following enhancements:
- With this update, the client configuration RPMs in `rhui-manager` prevent subscription manager from automatically enabling `yum` plugins. As a result, RHUI repository users will no longer see irrelevant messages from subscription manager. (BZ#1957871)
- With this update, you can generate machine-readable files with the status of each RHUI repository. To use this feature, run the following command:
`rhui-manager --non-interactive status --repo_json <output file>`
(BZ#2079391)
- With this update, the `rhui-manager` CLI command uses a variety of unique exit codes to indicate different types of errors. For example, if you attempt to add a Red Hat repository that has already been added, the command will exit with a status of 245. However, if you attempt to add a Red Hat repository that does not exist in the RHUI entitlement, the command will exit with a status of 246. For a complete list of codes, see the `/usr/lib/python3.6/site-packages/rhui/common/rhui_exit_codes.py` file.
Solution
Before applying this update, make sure all previously released errata relevant to your system have been applied.
For detailed instructions on how to apply this update, see:
https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/4/html/migrating_red_hat_update_infrastructure/assembly_upgrading-red-hat-update-infrastructure_migrating-red-hat-update-infrastructure
For other information, see the product documentation:
https://access.redhat.com/documentation/en-us/red_hat_update_infrastructure/4
Affected Products
- Red Hat Update Infrastructure 4 x86_64
Fixes
- BZ - 1957871 - [RFE} Client rpms created in RHUI don't prevent auto-enable of subscription manager plugins
- BZ - 2079391 - Feature request to provide sync/repo status of each repo in a JSON file for automated monitoring
- BZ - 2187903 - CVE-2023-30608 sqlparse: Parser contains a regular expression that is vulnerable to ReDOS (Regular Expression Denial of Service)
- BZ - 2192565 - CVE-2023-31047 python-django: Potential bypass of validation when uploading multiple files using one form field
- RHUI-217 - [RFE] Client rpms created in RHUI don't prevent auto-enable of subscription manager plugins
- RHUI-263 - [RFE] Bug 2079391 - Feature request to provide sync/repo status of each repo in a JSON file for automated monitoring
- RHUI-356 - "logname: no login name" appears, twice, in e-mails sent by the rhui-repo-sync cron job
- RHUI-395 - Change error reporting of rhui-manager to be configurable
- RHUI-424 - repo deletion for an un-added repo results in a traceback
- RHUI-75 - repo sync for an un-added repo results in a traceback
- RHUI-430 - Installation fails on RHEL 8.9
Red Hat Update Infrastructure 4
SRPM | |
---|---|
python-django-3.2.19-1.0.1.el8ui.src.rpm | SHA-256: ba79e2dbecce056295b67151047bc240633b0e34d910db454ef23b955c20a35d |
python-sqlparse-0.4.4-1.0.1.el8ui.src.rpm | SHA-256: 7556563b06379b18838c45768ca6929b067229139251754fe2367f6c920ae890 |
rhui-installer-4.5.0.1-1.el8ui.src.rpm | SHA-256: 7f5cddf8a344cbded353b2cc41c043074a6c31a5ec1faab1f855f07012b29e07 |
rhui-tools-4.5.0.5-1.el8ui.src.rpm | SHA-256: 7ca5ddfbb65cd9cbbff949dad7fcc685beca97f6e4484a26915fa9566ec8710f |
x86_64 | |
python39-django-3.2.19-1.0.1.el8ui.noarch.rpm | SHA-256: 0f47a09c5c143fd6aca1624724762ddddba43aa2cad2a73113912915841c4507 |
python39-sqlparse-0.4.4-1.0.1.el8ui.noarch.rpm | SHA-256: e8f958c9fab6fa858cebd318d9b22042dd99eb9c7676e55a74e465fb2c1c60ab |
rhui-installer-4.5.0.1-1.el8ui.noarch.rpm | SHA-256: 1cebb10c7abc7fe48c77b921fb409aca0645ea6187b88c2c72ca19643ec67b85 |
rhui-tools-4.5.0.5-1.el8ui.noarch.rpm | SHA-256: a6b3bdff481aa047dc770e8c7d6dd6409884efe1575d4d983bf5c5ef33ff5b4f |
rhui-tools-libs-4.5.0.5-1.el8ui.noarch.rpm | SHA-256: b63de417479fc957aebae15effdc4ed60fa8478ae4752021370459a4af4be82a |
The Red Hat security contact is secalert@redhat.com. More contact details at https://access.redhat.com/security/team/contact/.