Skip to content
OpenAdvisories
Medium · 6.7 CVE-2024-7143 EUVD-2024-2549GHSA-9m5j-4xx9-44j9PYSEC-2026-1808

Pulpcore: rbac permissions incorrectly assigned in tasks that create objects

Published Aug 7, 2024 · Updated Jun 2, 2026 · Assigned by redhat

Description

A flaw was found in the Pulp package. When a role-based access control (RBAC) object in Pulp is set to assign permissions on its creation, it uses the `AutoAddObjPermsMixin` (typically the add_roles_for_object_creator method). This method finds the object creator by checking the current authenticated user. For objects that are created within a task, this current user is set by the first user with any permissions on the task object. This means the oldest user with model/domain-level task permissions will always be set as the current user of a task, even if they didn't dispatch the task. Therefore, all objects created in tasks will have their permissions assigned to this oldest user, and the creating user will receive nothing.

Affected products

VendorProductAffectedFixed
— pulp ≤ 3.56.0 —
Red Hat Red Hat Ansible Automation Platform 2 — —
Red Hat Red Hat Satellite 6 — —
Red Hat Red Hat Update Infrastructure 4 for Cloud Providers — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Red Hat Ansible Automation Platform Inside 2 receptor +1 1.4.8-1.1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform Developer 2 automation-controller +1 4.5.11-1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform Developer 2 python-urllib3 +1 1.26.20-1.el9ap RHSA-2024:6765
Red Hat Ansible Automation Platform Developer 2 python39-urllib3 +1 1.26.20-1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform Developer 2 receptor +1 1.4.8-1.1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 automation-controller +4 4.5.11-1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 python-django +1 4.2.16-1.el9ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 python-pulpcore +1 3.28.32-1.el9ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 python-urllib3 +1 1.26.20-1.el9ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 python39-django +1 4.2.16-1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 python39-pulpcore +1 3.28.32-1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 python39-urllib3 +1 1.26.20-1.el8ap RHSA-2024:6765
Red Hat Ansible Automation Platform 2 receptor +1 1.4.8-1.1.el8ap RHSA-2024:6765

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI pulpcore <= 3.56.0 — GHSA-9m5j-4xx9-44j9

Advisories 1

References