{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7143","id":"CVE-2024-7143","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 ","descriptionLong":"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.","published":"2024-08-07T16:49:29.842Z","updated":"2026-10-28T02:30:59.389623188Z","reserved":"2024-07-26T18:48:08.747Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"NVD"},"metrics":[{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"GitHub"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N","rating":"medium","source":"OSV"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L","rating":"high","source":"NVD"},{"version":"3.0","score":6.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","rating":"medium","source":"redhat"},{"version":"3.0","score":6.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","rating":"medium","source":"redhat.com"},{"version":"3.0","score":6.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","rating":"medium","source":"OSV"},{"version":"3.0","score":6.7,"vector":"CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:L","rating":"medium","source":"GitHub"}],"rating":"high","products":["pulp","Red Hat Ansible Automation Platform 2","Red Hat Satellite 6","Red Hat Update Infrastructure 4 for Cloud Providers"],"affectedProducts":[{"vendor":"","product":"pulp","defaultStatus":"unaffected","versions":[{"status":"affected","version":"0","versionType":"semver","lessThanOrEqual":"3.56.0"}],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Ansible Automation Platform 2","defaultStatus":"affected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Satellite 6","defaultStatus":"unaffected","versions":[],"platforms":[]},{"vendor":"Red Hat","product":"Red Hat Update Infrastructure 4 for Cloud Providers","defaultStatus":"unaffected","versions":[],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"pulpcore","purl":"pkg:pypi/pulpcore","ranges":["<=3.56.0"],"fixed":[],"advisory":"GHSA-9m5j-4xx9-44j9"}],"cwes":["CWE-277"],"aliases":["GHSA-9m5j-4xx9-44j9","PYSEC-2026-1808"],"references":[{"url":"https://access.redhat.com/errata/RHSA-2024:6765","tags":["vendor-advisory","x_refsource_REDHAT","advisory","web"]},{"url":"https://access.redhat.com/security/cve/CVE-2024-7143","tags":["vdb-entry","x_refsource_REDHAT","Third Party Advisory","advisory","web"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2300125","tags":["issue-tracking","x_refsource_REDHAT","Issue Tracking","Third Party Advisory","report","web"]},{"url":"https://github.com/advisories/GHSA-9m5j-4xx9-44j9","tags":["advisory"]},{"url":"https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/pulpcore/tasking/_util.py#L108","tags":["Issue Tracking","web"]},{"url":"https://github.com/pulp/pulpcore/blob/main/CHANGES.md","tags":["web"]},{"url":"https://access.redhat.com/downloads/content/package-browser/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7143.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7143","tags":["advisory"]},{"url":"https://github.com/pulp/pulpcore","tags":["package"]},{"url":"https://pypi.org/project/pulpcore","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00605,"epssPercentile":0.49749,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7143","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7143","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7143","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-9m5j-4xx9-44j9","ok":true,"note":"GHSA-9m5j-4xx9-44j9"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7143","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}