{"answers":{"affected":"3 open source packages ship an affected version, including Products.SQLAlchemyDA and products-sqlalchemyda. It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-24811 in the wild and no public exploit code.","fix":"Upgrade Products.SQLAlchemyDA to 2.2 or later.","what":"CVE-2024-24811 is a critical vulnerability in zopefoundation Products.SQLAlchemyDA, published on 7 Feb 2024."},"fix_prompt":"Check this codebase for CVE-2024-24811 and fix it if it is affected.\n\nWhat it is: CVE-2024-24811 is a critical vulnerability in zopefoundation Products.SQLAlchemyDA, published on 7 Feb 2024. \nExploitation: There is no known exploitation of CVE-2024-24811 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Products.SQLAlchemyDA (PyPI): affected all versions; fixed in 2.2\n- products-sqlalchemyda (PyPI): affected all versions; fixed in 2.2\n- products-sqlalchemyda (PyPI): affected all versions; fixed in 2.2\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-24811/ (Markdown: https://insights.sbomify.com/CVE-2024-24811/index.md)","id":"CVE-2024-24811","markdown":"https://insights.sbomify.com/CVE-2024-24811/index.md","name":"CVE-2024-24811","record":{"aliases":["GHSA-r3jc-3qmm-w3pw","PYSEC-2026-489"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[{"product":"sqlalchemyda","vendor":"zope"}],"cvss":{"score":9.8,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"description":"SQLAlchemyDA is a generic database adapter for ZSQL methods. A vulnerability found in versions prior to 2.2 allows unauthenticated execution of arbitrary SQL statements on the database to which the SQLAlchemyDA instance is connected. All users are affected. The problem has been patched in version 2.2. There is no workaround for the problem.","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":"Products.SQLAlchemyDA vulnerable to unauthenticated arbitrary SQL query execution","id":"CVE-2024-24811","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2024"},"n_packages":3,"n_references":2,"next":{"headline":"Frappe Authenticated Reflected Cross site scripting (XSS) in portal pages","id":"CVE-2024-24812"},"packages":[{"ecosystem":"PyPI","fixed":["2.2"],"introduced":["0"],"last_affected":[],"package":"Products.SQLAlchemyDA","purl":null,"source":"GHSA-r3jc-3qmm-w3pw"},{"ecosystem":"PyPI","fixed":["2.2"],"introduced":["0"],"last_affected":[],"package":"products-sqlalchemyda","purl":"pkg:pypi/products-sqlalchemyda","source":"GHSA-r3jc-3qmm-w3pw"},{"ecosystem":"PyPI","fixed":["2.2"],"introduced":["0"],"last_affected":[],"package":"products-sqlalchemyda","purl":"pkg:pypi/products-sqlalchemyda","source":"PYSEC-2026-489"}],"prev":{"headline":"WiX is vulnerable to DLL redirection attacks that allow the attacker to escalate privileges","id":"CVE-2024-24810"},"products":["Products.SQLAlchemyDA"],"published":"2024-02-07","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":"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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-15","vendors":["zopefoundation"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-24811/"}