Live threats

All CVEs / Inveniosoftware

CVE-2021-43781Inveniosoftware Invenio-drafts-resources

Medium 4.3

Priority
26
CVSS 3.1
4.3
EPSS
0.7%
probability of exploitation in 30 days · percentile 48
Auth required
Yes
Published
Dec 6, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-862, CWE-863
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Invenio-drafts-resources.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI invenio-app-rdm < 6.0.5 6.0.5 pip install "invenio-app-rdm>=6.0.5"
PyPI invenio-app-rdm ≥ 7.0.0.dev0 < 7.0.0.dev5 7.0.0.dev5 pip install "invenio-app-rdm>=7.0.0.dev5"
PyPI invenio-app-rdm < 6.0.5 6.0.5 pip install "invenio-app-rdm>=6.0.5"
PyPI invenio-app-rdm ≥ 7.0.0.dev0 < 7.0.0.dev5 7.0.0.dev5 pip install "invenio-app-rdm>=7.0.0.dev5"
PyPI invenio-drafts-resources < 0.13.7 0.13.7 pip install "invenio-drafts-resources>=0.13.7"
PyPI invenio-drafts-resources ≥ 0.14.0 < 0.14.6 0.14.6 pip install "invenio-drafts-resources>=0.14.6"
PyPI invenio-drafts-resources < 0.13.7 0.13.7 pip install "invenio-drafts-resources>=0.13.7"
PyPI invenio-drafts-resources ≥ 0.14.0 < 0.14.6 0.14.6 pip install "invenio-drafts-resources>=0.14.6"
PyPI invenio-rdm-records < 0.32.6 0.32.6 pip install "invenio-rdm-records>=0.32.6"
PyPI invenio-rdm-records ≥ 0.33.0 < 0.33.10 0.33.10 pip install "invenio-rdm-records>=0.33.10"
PyPI invenio-rdm-records < 0.32.6 0.32.6 pip install "invenio-rdm-records>=0.32.6"
PyPI invenio-rdm-records ≥ 0.33.0 < 0.33.10 0.33.10 pip install "invenio-rdm-records>=0.33.10"

Per OSV / GitHub Advisories (GHSA-xr38-w74q-r8jv, PYSEC-2021-837, PYSEC-2021-836, PYSEC-2021-838). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
inveniosoftwareinvenio-drafts-resources< 0.13.7
inveniosoftwareinvenio-drafts-resources≥ 0.14.0 < 0.14.6

Official sources

References

Links published by the sources. Open them with care.