Skip to content
OpenAdvisories
Medium · 6.4 CVE-2021-43781 EUVD-2021-0102GHSA-xr38-w74q-r8jvPYSEC-2021-836PYSEC-2021-837PYSEC-2021-838

Permissions not properly checked in Invenio-Drafts-Resources

Published Dec 6, 2021 · Updated Aug 4, 2024 · Assigned by GitHub_M

Description

Invenio-Drafts-Resources is a submission/deposit module for Invenio, a software framework for research data management. Invenio-Drafts-Resources prior to versions 0.13.7 and 0.14.6 does not properly check permissions when a record is published. The vulnerability is exploitable in a default installation of InvenioRDM. An authenticated a user is able via REST API calls to publish draft records of other users if they know the record identifier and the draft validates (e.g. all require fields filled out). An attacker is not able to modify the data in the record, and thus e.g. *cannot* change a record from restricted to public. The problem is patched in Invenio-Drafts-Resources v0.13.7 and 0.14.6, which is part of InvenioRDM v6.0.1 and InvenioRDM v7.0 respectively.

Affected products

VendorProductAffectedFixed
inveniosoftware invenio-drafts-resources < 0.13.7, >= 0.14.0, < 0.14.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI invenio-app-rdm < 6.0.5 6.0.5 GHSA-xr38-w74q-r8jv
PyPI invenio-app-rdm >= 7.0.0.dev0, < 7.0.0.dev5 7.0.0.dev5 GHSA-xr38-w74q-r8jv
PyPI invenio-app-rdm < 6.0.5 · >= 7.0.0.dev0, < 7.0.0.dev5 6.0.5, 7.0.0.dev5 PYSEC-2021-837
PyPI invenio-drafts-resources < 0.13.7 0.13.7 GHSA-xr38-w74q-r8jv
PyPI invenio-drafts-resources >= 0.14.0, < 0.14.6 0.14.6 GHSA-xr38-w74q-r8jv
PyPI invenio-drafts-resources < 0.13.7 · >= 0.14.0, < 0.14.6 0.13.7, 0.14.6 PYSEC-2021-836
PyPI invenio-rdm-records < 0.32.6 0.32.6 GHSA-xr38-w74q-r8jv
PyPI invenio-rdm-records >= 0.33.0, < 0.33.10 0.33.10 GHSA-xr38-w74q-r8jv
PyPI invenio-rdm-records < 0.32.6 · >= 0.33.0, < 0.33.10 0.32.6, 0.33.10 PYSEC-2021-838

References