Vulnerability · Published Dec 6, 2021 · Assigned by GitHub_M

CVE-2021-43781Permissions not properly checked in Invenio-Drafts-Resources

Medium 6.4

In plain English

A medium-severity missing authorization in invenio-drafts-resources from inveniosoftware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 53% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.4Medium
Exploit odds (30 days)0.7%top 47.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIinvenio-app-rdm6.0.5, 7.0.0.dev5PYSEC-2021-837
PyPIinvenio-app-rdm6.0.5GHSA-xr38-w74q-r8jv
PyPIinvenio-app-rdm7.0.0.dev5GHSA-xr38-w74q-r8jv
PyPIinvenio-drafts-resources0.13.7, 0.14.6PYSEC-2021-836
PyPIinvenio-drafts-resources0.13.7GHSA-xr38-w74q-r8jv
PyPIinvenio-drafts-resources0.14.6GHSA-xr38-w74q-r8jv
PyPIinvenio-rdm-records0.32.6, 0.33.10PYSEC-2021-838
PyPIinvenio-rdm-records0.32.6GHSA-xr38-w74q-r8jv
PyPIinvenio-rdm-records0.33.10GHSA-xr38-w74q-r8jv

Affected products (as reported)

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

Weakness: CWE-862 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N

References