CVE-2024-7143
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pulpcorePyPI | <= 3.56.0 | — |
Affected products
13- Range: <= 3.56.0
- cpe:2.3:a:pulpproject:pulp:-:*:*:*:*:*:*:*
- osv-coords11 versionspkg:apk/chainguard/py3-pulppkg:apk/chainguard/py3-supported-pulppkg:apk/chainguard/py3.10-pulppkg:apk/chainguard/py3.10-pulp-binpkg:apk/chainguard/py3.11-pulppkg:apk/chainguard/py3.11-pulp-binpkg:apk/chainguard/py3.12-pulppkg:apk/chainguard/py3.12-pulp-binpkg:apk/chainguard/py3.13-pulppkg:apk/chainguard/py3.13-pulp-binpkg:pypi/pulpcore
< 3.3.0-r0+ 10 more
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: < 3.3.0-r0
- (no CPE)range: <= 3.56.0
Patches
Vulnerability mechanics
References
7- access.redhat.com/security/cve/CVE-2024-7143nvdThird Party AdvisoryWEB
- bugzilla.redhat.com/show_bug.cginvdIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-9m5j-4xx9-44j9nvdADVISORY
- nvd.nist.gov/vuln/detail/CVE-2024-7143ghsaADVISORY
- access.redhat.com/errata/RHSA-2024:6765nvdWEB
- github.com/pulp/pulpcore/blob/93f241f34c503da0fbac94bdba739feda2636e12/pulpcore/tasking/_util.pynvdIssue TrackingWEB
- github.com/pulp/pulpcore/blob/main/CHANGES.mdnvdWEB
News mentions
0No linked articles in our index yet.