Skip to content

← Public intelligence

PyPI package

invenio-app-rdm

Open actionable advisories and recorded vendor fixes. This public package view has no inventory attached and cannot establish whether your deployment is affected. A vendor fix never resolves your finding; verify your installed version and the source guidance.

Open advisories

1 actionable advisory, newest first. Withdrawn advisories and news are excluded. Coverage is partial.

  1. Medium, CVSS 5.1PyPIAmendedPublished

    Permissions not properly checked in Invenio-Drafts-Resources

    CVE-2021-43781 · GHSA-xr38-w74q-r8jv

    Affected
    • PyPI invenio-app-rdm < 6.0.5; >= 7.0.0.dev0, < 7.0.0.dev5
    Fixed in
    7.0.0.dev56.0.5· Vendor fix available
    Issue
    Impact Invenio-Drafts-Resources does not properly check permissions when a record is published. The vulnerability is exploitable in a default installation of InvenioRDM. An authenticated 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. Details The service's publish() method contains the following permission check: However, the record should have been passed into the permission check so that the need generators have access to e.g. the record owner. The bug is activated in Invenio-RDM-Records which has a need generator called RecordOwners(), which when no record is passed in defaults to allow any authenticated user: Patches 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…

    Recommended action: Upgrade to 7.0.0.dev5 (pre-release) or 6.0.5 by release line, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.

    Sources:osv.dev (1)github.com (2)Source checked Evidence →