Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. invenio-drafts-resources
  4. ›
  5. CVE-2021-43781

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

December 6, 2021 (updated September 23, 2024)

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.

References

  • github.com/advisories/GHSA-xr38-w74q-r8jv
  • github.com/inveniosoftware/invenio-drafts-resources/commit/039b0cff1ad4b952000f4d8c3a93f347108b6626
  • github.com/inveniosoftware/invenio-drafts-resources/security/advisories/GHSA-xr38-w74q-r8jv
  • github.com/pypa/advisory-database/tree/main/vulns/invenio-app-rdm/PYSEC-2021-837.yaml
  • github.com/pypa/advisory-database/tree/main/vulns/invenio-drafts-resources/PYSEC-2021-836.yaml
  • nvd.nist.gov/vuln/detail/CVE-2021-43781

Code Behaviors & Features

Detect and mitigate CVE-2021-43781 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.13.7, all versions starting from 0.14.0 before 0.14.6

Fixed versions

  • 0.13.7
  • 0.14.6

Solution

Upgrade to versions 0.13.7, 0.14.6 or above.

Impact 4.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization
  • CWE-863: Incorrect Authorization

Source file

pypi/invenio-drafts-resources/CVE-2021-43781.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:33 +0000.