{"answers":{"affected":"5 open source packages ship an affected version, including nautobot. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-36112 in the wild and no public exploit code.","fix":"Upgrade nautobot to a fixed version for your release line: 1.6.23, 2.2.5 or 2.3.0b1.","what":"CVE-2024-36112 is a medium-severity missing authorization vulnerability in nautobot, published on 28 May 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-36112 and fix it if it is affected.\n\nWhat it is: CVE-2024-36112 is a medium-severity missing authorization vulnerability in nautobot, published on 28 May 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-36112 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- nautobot (PyPI): affected from 1.3.0; fixed in 1.6.23\n- nautobot (PyPI): affected from 1.3.0; fixed in 1.6.23\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.2.5\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.2.5\n- nautobot (PyPI): affected from 2.0.0; fixed in 2.3.0b1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-36112/ (Markdown: https://insights.sbomify.com/CVE-2024-36112/index.md)","id":"CVE-2024-36112","markdown":"https://insights.sbomify.com/CVE-2024-36112/index.md","name":"CVE-2024-36112","record":{"aliases":["GHSA-qmjf-wc2h-6x3q","PYSEC-2024-166"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Network automation platform","requires_auth":"low_privilege","summary":"Users with dynamic group view permissions can list member objects regardless of their specific object view permissions, exposing unauthorized data.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"nautobot","vendor":"networktocode"}],"cvss":{"score":6.3,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"},{"id":"CWE-280","name":"Improper Handling of Insufficient Permissions or Privileges"}],"description":"Nautobot is a Network Source of Truth and Network Automation Platform. A user with permissions to view Dynamic Group records (`extras.view_dynamicgroup` permission) can use the Dynamic Group detail UI view (`/extras/dynamic-groups/\u003cuuid\u003e/`) and/or the members REST API view (`/api/extras/dynamic-groups/\u003cuuid\u003e/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. This issue has been fixed in Nautobot versions 1.6.23 and 2.2.5. Users are advised to upgrade. This vulnerability can be partially mitigated by removing `extras.view_dynamicgroup` permission from users however a full fix will require upgrading.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Nautobot dynamic-group-members doesn't enforce permission restrictions on member objects","id":"CVE-2024-36112","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":5,"n_references":3,"next":{"headline":"Discourse missing authorization checks for suspending admins/moderators","id":"CVE-2024-36113"},"packages":[{"ecosystem":"PyPI","fixed":["1.6.23"],"introduced":["1.3.0"],"last_affected":[],"package":"nautobot","purl":null,"source":"GHSA-qmjf-wc2h-6x3q"},{"ecosystem":"PyPI","fixed":["1.6.23"],"introduced":["1.3.0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"GHSA-qmjf-wc2h-6x3q"},{"ecosystem":"PyPI","fixed":["2.2.5"],"introduced":["2.0.0"],"last_affected":[],"package":"nautobot","purl":null,"source":"GHSA-qmjf-wc2h-6x3q"},{"ecosystem":"PyPI","fixed":["2.2.5"],"introduced":["2.0.0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"GHSA-qmjf-wc2h-6x3q"},{"ecosystem":"PyPI","fixed":["2.3.0b1"],"introduced":["2.0.0"],"last_affected":[],"package":"nautobot","purl":"pkg:pypi/nautobot","source":"PYSEC-2024-166"}],"prev":{"headline":"KubePi's JWT token validation has a defect","id":"CVE-2024-36111"},"products":["nautobot"],"published":"2024-05-28","related":[{"cvss_score":8.5,"headline":"Nautobot: Webhook definitions could be used for server-side request forgery (SSRF)","id":"CVE-2026-44797","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":7.5,"headline":"Nautobot's BANNER_* configuration can be used to inject arbitrary HTML content into Nautobot pages","id":"CVE-2024-34707","kev_date_added":null,"published":"2024-05-13"},{"cvss_score":7.5,"headline":"Reflected Cross-site Scripting potential in all object list views in Nautobot","id":"CVE-2024-32979","kev_date_added":null,"published":"2024-05-01"},{"cvss_score":7.5,"headline":"Remote code execution in Jinja2 template rendering in Nautobot","id":"CVE-2023-25657","kev_date_added":null,"published":"2023-02-21"},{"cvss_score":7.1,"headline":"Nautobot: GitRepository.current_head field should not be writable through REST API","id":"CVE-2026-44798","kev_date_added":null,"published":"2026-05-28"},{"cvss_score":7.1,"headline":"Nautobot has XSS potential in rendered Markdown fields","id":"CVE-2024-23345","kev_date_added":null,"published":"2024-01-22"},{"cvss_score":7.1,"headline":"nautobot has XSS potential in custom links, job buttons, and computed fields","id":"CVE-2023-48705","kev_date_added":null,"published":"2023-11-22"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["nautobot"]},"summary":"Users with dynamic group view permissions can list member objects regardless of their specific object view permissions, exposing unauthorized data.","url":"https://insights.sbomify.com/CVE-2024-36112/"}