Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. nautobot
  4. ›
  5. CVE-2024-36112

CVE-2024-36112: Nautobot dynamic-group-members doesn't enforce permission restrictions on member objects

May 29, 2024 (updated January 21, 2025)

What kind of vulnerability is it? Who is impacted?

A user with permissions to view Dynamic Group records (extras.view_dynamicgroup permission) can use the Dynamic Group detail UI view (/extras/dynamic-groups/<uuid>/) and/or the members REST API view (/api/extras/dynamic-groups/<uuid>/members/) to list the objects that are members of a given Dynamic Group.

In versions of Nautobot between 1.3.0 (where the Dynamic Groups feature was added) and 1.6.22 inclusive, and 2.0.0 through 2.2.4 inclusive, Nautobot fails to restrict these listings based on the member object permissions - for example a Dynamic Group of Device objects will list all Devices that it contains, regardless of the user’s dcim.view_device permissions or lack thereof.

References

  • github.com/advisories/GHSA-qmjf-wc2h-6x3q
  • github.com/nautobot/nautobot
  • github.com/nautobot/nautobot/commit/3a63aa1327f943b2ac8452757ea2e4d403387ad6
  • github.com/nautobot/nautobot/commit/4d1ff2abe2775b0a6fb16e6d1d503a78226a6f8e
  • github.com/nautobot/nautobot/pull/5757
  • github.com/nautobot/nautobot/pull/5762
  • github.com/nautobot/nautobot/security/advisories/GHSA-qmjf-wc2h-6x3q
  • github.com/pypa/advisory-database/tree/main/vulns/nautobot/PYSEC-2024-166.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-36112

Code Behaviors & Features

Detect and mitigate CVE-2024-36112 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 starting from 1.3.0 before 1.6.23, all versions starting from 2.0.0 before 2.2.5

Fixed versions

  • 1.6.23
  • 2.2.5

Solution

Upgrade to versions 1.6.23, 2.2.5 or above.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-280: Improper Handling of Insufficient Permissions or Privileges

Source file

pypi/nautobot/CVE-2024-36112.yml

Spotted a mistake? Edit the file on GitLab.

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

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