{"answers":{"affected":"6 open source packages ship an affected version, including accesscontrol, AccessControl and Zope.","exploited":"There is no known exploitation of CVE-2024-51734 in the wild and no public exploit code.","fix":"Upgrade accesscontrol to 7.2 or later.","what":"CVE-2024-51734 is a high-severity vulnerability in zopefoundation AccessControl, published on 4 Nov 2024."},"fix_prompt":"Check this codebase for CVE-2024-51734 and fix it if it is affected.\n\nWhat it is: CVE-2024-51734 is a high-severity vulnerability in zopefoundation AccessControl, published on 4 Nov 2024. \nExploitation: There is no known exploitation of CVE-2024-51734 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- accesscontrol (PyPI): affected all versions; fixed in 7.2\n- accesscontrol (PyPI): affected all versions; fixed in 7.2\n- AccessControl (PyPI): affected all versions; fixed in 7.2\n- Zope (PyPI): affected all versions; fixed in 5.11.1\n- zope (PyPI): affected all versions; fixed in 5.11.1\n- zope (PyPI): affected all versions; fixed in 5.11.1\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-51734/ (Markdown: https://insights.sbomify.com/CVE-2024-51734/index.md)","id":"CVE-2024-51734","markdown":"https://insights.sbomify.com/CVE-2024-51734/index.md","name":"CVE-2024-51734","record":{"aliases":["GHSA-g5vw-3h65-2q3v","PYSEC-2026-2076","PYSEC-2026-2326"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"description":"Zope AccessControl provides a general security framework for use in Zope. In affected versions anonymous users can delete the user data maintained by an `AccessControl.userfolder.UserFolder` which may prevent any privileged access. This problem has been fixed in version 7.2. Users are advised to upgrade. Users unable to upgrade may address the issue by adding `data__roles__ = ()` to `AccessControl.userfolder.UserFolder`.","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":"User data deletion by anoynmous users in Zope","id":"CVE-2024-51734","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2024"},"n_packages":6,"n_references":2,"next":{"headline":"Stored Cross-site Scripting to RCE on Osmedeus Web Server","id":"CVE-2024-51735"},"packages":[{"ecosystem":"PyPI","fixed":["7.2"],"introduced":["0"],"last_affected":[],"package":"AccessControl","purl":null,"source":"GHSA-g5vw-3h65-2q3v"},{"ecosystem":"PyPI","fixed":["5.11.1"],"introduced":["0"],"last_affected":[],"package":"Zope","purl":null,"source":"GHSA-g5vw-3h65-2q3v"},{"ecosystem":"PyPI","fixed":["7.2"],"introduced":["0"],"last_affected":[],"package":"accesscontrol","purl":"pkg:pypi/accesscontrol","source":"GHSA-g5vw-3h65-2q3v"},{"ecosystem":"PyPI","fixed":["7.2"],"introduced":["0"],"last_affected":[],"package":"accesscontrol","purl":"pkg:pypi/accesscontrol","source":"PYSEC-2026-2326"},{"ecosystem":"PyPI","fixed":["5.11.1"],"introduced":["0"],"last_affected":[],"package":"zope","purl":"pkg:pypi/zope","source":"GHSA-g5vw-3h65-2q3v"},{"ecosystem":"PyPI","fixed":["5.11.1"],"introduced":["0"],"last_affected":[],"package":"zope","purl":"pkg:pypi/zope","source":"PYSEC-2026-2076"}],"prev":{"headline":"mm: use aligned address in copy_user_gigantic_page()","id":"CVE-2024-51729"},"products":["AccessControl"],"published":"2024-11-04","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-01-22","vendors":["zopefoundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-51734/"}