{"id":"CVE-2024-7143","published":"2024-08-07T16:49:29Z","modified":"2026-06-02T15:17:14Z","title":"Pulpcore: rbac permissions incorrectly assigned in tasks that create objects","vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.7,"severity":"MEDIUM","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00605,"percentile":0.49885,"provenance":"source"},"cwes":[{"id":"CWE-277","name":"Insecure Inherited Permissions"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6765","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-7143","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2300125","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/advisories/GHSA-9m5j-4xx9-44j9","tags":[]},{"url":"https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/pulpcore/tasking/_util.py#L108","tags":[]},{"url":"https://github.com/pulp/pulpcore/blob/main/CHANGES.md","tags":[]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":9.98},{"name":"CVSS severity","points":4.69}]},"vendorSlug":"red-hat","affectedVersions":[{"vendor":null,"product":null,"versions":["<= 3.56.0"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","versions":["all versions"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-08-07T17:28:33.839214Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pulpcore","vulnerableRanges":["<=3.56.0"],"patched":[],"from":["GHSA-9m5j-4xx9-44j9","PYSEC-2026-1808"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2549","exploited":false,"provenance":"source"}}