Pulpcore: rbac permissions incorrectly assigned in tasks that create objects (pulp)

CVE-2024-7143
MEDIUM 6.7

En bref

Source
NVD
EPSS
EPSS 0.60 % · centile 49 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-277 — Insecure Inherited Permissions

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.0MEDIUM 6.7CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:Lredhat
CVSS 3.1HIGH 8.3CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:LNVD · nvd@nist.gov (Primary)
CVSS 3.0MEDIUM 6.7CVSS:3.0/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:LNVD · secalert@redhat.com (Secondary)

Avis

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
pulpaffected 0 ≤ 3.56.0
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Ansible Automation Platform 2
Red Hat · Red Hat Satellite 6
Red Hat · Red Hat Update Infrastructure 4 for Cloud Providers

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD