Pulpcore: rbac permissions incorrectly assigned in tasks that create objects
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.
References
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- RHSA-2024:6765 x_refsource_REDHAT vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- RHSA-2024:6765 x_refsource_REDHAT vendor-advisory
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- RHSA-2024:6765 x_refsource_REDHAT vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- RHSA-2024:6765 x_refsource_REDHAT vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- RHSA-2024:6765 x_refsource_REDHAT vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- RHSA-2024:6765 x_refsource_REDHAT vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
- RHSA-2024:6765 x_refsource_REDHAT vendor-advisory
- https://access.redhat.com/security/cve/CVE-2024-7143 x_refsource_REDHAT vdb-entry
- RHBZ#2300125 issue-tracking x_refsource_REDHAT
- https://github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/…
- https://github.com/pulp/pulpcore/blob/main/CHANGES.md
Affected products
- =<3.56.0
- *
- *
- *
- *
- *
- *
- *
- *
Matching in nixpkgs
pkgs.nodePackages.pulp
A build system for PureScript projects
-
nixos-unstable -
- nixpkgs-unstable 16.0.2
pkgs.python312Packages.pulp
Module to generate MPS or LP files
-
nixos-unstable -
- nixpkgs-unstable 2.8.0
pkgs.python313Packages.pulp
Module to generate MPS or LP files
-
nixos-unstable -
- nixpkgs-unstable 2.8.0
pkgs.nodePackages_latest.pulp
A build system for PureScript projects
-
nixos-unstable -
- nixpkgs-unstable 16.0.2
Package maintainers
-
@teto Matthieu Coudron <mcoudron@hotmail.com>