Advisory

PYSEC-2021-837

Also known as: CVE-2021-43781, GHSA-xr38-w74q-r8jv, PYSEC-2021-836, PYSEC-2021-838

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2021-12-06 18:15 UTC
Modified
2023-11-08 04:07 UTC

Affected packages and fixes

invenio-app-rdm

PyPI · All systems

Affected

  • introduced 0, fixed 6.0.5, introduced 7.0.0.dev0, fixed 7.0.0.dev5 (ecosystem)

Fixed versions

6.0.5, 7.0.0.dev5

Fix

  • Fixed version 6.0.5
    pip install --upgrade invenio-app-rdm==6.0.5
  • Fixed version 7.0.0.dev5
    pip install --upgrade invenio-app-rdm==7.0.0.dev5

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences