{"id":"CVE-2024-7143","state":"PUBLISHED","title":"Pulpcore: rbac permissions incorrectly assigned in tasks that create objects","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.","publishedAt":"2024-08-07T16:49:29.842Z","updatedAt":"2026-06-02T15:17:14.856Z","severity":{"score":6.7,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","source":"redhat"},"assigner":"redhat","products":["pulp","Red Hat Red Hat Ansible Automation Platform 2","Red Hat Red Hat Satellite 6","Red Hat Red Hat Update Infrastructure 4 for Cloud Providers"],"affected":[{"packageName":"pulp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.56.0","versionType":"semver"}],"collectionURL":"https://github.com/pulp/pulpcore"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","packageName":"python3x-pulpcore","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform:2"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","packageName":"python-pulpcore","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform:2"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","packageName":"python-pulpcore","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:satellite:6"]},{"vendor":"Red Hat","product":"Red Hat Update Infrastructure 4 for Cloud Providers","packageName":"python-pulpcore","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:rhui:4::el8"]}],"references":["https://access.redhat.com/errata/RHSA-2024:6765","https://access.redhat.com/security/cve/CVE-2024-7143","https://bugzilla.redhat.com/show_bug.cgi?id=2300125","https://github.com/advisories/GHSA-9m5j-4xx9-44j9","https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/pulpcore/tasking/_util.py#L108","https://github.com/pulp/pulpcore/blob/main/CHANGES.md"],"weaknesses":["CWE-277"],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/7xxx/CVE-2024-7143.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-7143","state":"PUBLISHED","datePublished":"2024-08-07T16:49:29.842Z","dateUpdated":"2026-06-02T15:17:14.856Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2024-07-26T18:48:08.747Z"},"containers":{"cna":{"title":"Pulpcore: rbac permissions incorrectly assigned in tasks that create objects","descriptions":[{"lang":"en","value":"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":[{"packageName":"pulp","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"3.56.0","versionType":"semver"}],"collectionURL":"https://github.com/pulp/pulpcore"},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","packageName":"python3x-pulpcore","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform:2"]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","packageName":"python-pulpcore","defaultStatus":"affected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:ansible_automation_platform:2"]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","packageName":"python-pulpcore","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:satellite:6"]},{"vendor":"Red Hat","product":"Red Hat Update Infrastructure 4 for Cloud Providers","packageName":"python-pulpcore","defaultStatus":"unaffected","collectionURL":"https://access.redhat.com/downloads/content/package-browser/","cpes":["cpe:/a:redhat:rhui:4::el8"]}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6765","name":"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","name":"RHBZ#2300125","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://github.com/advisories/GHSA-9m5j-4xx9-44j9"},{"url":"https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/pulpcore/tasking/_util.py#L108"}],"metrics":[{"other":{"content":{"value":"Moderate","namespace":"https://access.redhat.com/security/updates/classification/"},"type":"Red Hat severity rating"}},{"cvssV3_0":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":6.7,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","version":"3.0"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-277","description":"Insecure Inherited Permissions","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateUpdated":"2026-06-02T15:17:14.856Z"},"datePublic":"2024-08-07T13:50:03.893Z","x_redhatCweChain":"CWE-277: Insecure Inherited Permissions","timeline":[{"lang":"en","time":"2024-07-26T19:01:06.000Z","value":"Reported to Red Hat."},{"lang":"en","time":"2024-08-07T13:50:03.893Z","value":"Made public."}],"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-07T17:28:33.839214Z","id":"CVE-2024-7143","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-07T17:28:52.787Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/pulp/pulpcore/blob/main/CHANGES.md"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-09-10T22:53:16.986Z"},"x_generator":{"engine":"ADPogram 0.0.1"}}]}}}