{"answers":{"affected":"3 open source packages ship an affected version, including paddlepaddle. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0521 exists.","fix":"Upgrade paddlepaddle to 2.6.0 or later.","what":"CVE-2024-0521 is a critical vulnerability in paddlepaddle/paddle, published on 20 Jan 2024."},"fix_prompt":"Check this codebase for CVE-2024-0521 and fix it if it is affected.\n\nWhat it is: CVE-2024-0521 is a critical vulnerability in paddlepaddle/paddle, published on 20 Jan 2024. \nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-0521 exists.\n\nAffected packages and fixed versions:\n- paddlepaddle (PyPI): affected all versions; fixed in 2.6.0\n- paddlepaddle (PyPI): affected all versions; fixed in 2.6.0\n- paddlepaddle (PyPI): affected all versions; fixed in 2.6.0\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-0521/ (Markdown: https://insights.sbomify.com/CVE-2024-0521/index.md)","id":"CVE-2024-0521","markdown":"https://insights.sbomify.com/CVE-2024-0521/index.md","name":"CVE-2024-0521","record":{"aliases":["GHSA-chj7-w3f6-cvfj","PYSEC-2026-444"],"analysis":null,"analysis_generated_by":null,"assigner":"@huntr_ai","cpe":[{"product":"paddle","vendor":"paddlepaddle"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"Code Injection in paddlepaddle/paddle","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Code Injection in paddlepaddle/paddle","id":"CVE-2024-0521","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":null,"year":"2024"},"n_packages":3,"n_references":1,"next":{"headline":"Allegro RomPager HTTP POST Request cross-site request forgery","id":"CVE-2024-0522"},"packages":[{"ecosystem":"PyPI","fixed":["2.6.0"],"introduced":["0"],"last_affected":[],"package":"paddlepaddle","purl":null,"source":"GHSA-chj7-w3f6-cvfj"},{"ecosystem":"PyPI","fixed":["2.6.0"],"introduced":["0"],"last_affected":[],"package":"paddlepaddle","purl":"pkg:pypi/paddlepaddle","source":"GHSA-chj7-w3f6-cvfj"},{"ecosystem":"PyPI","fixed":["2.6.0"],"introduced":["0"],"last_affected":[],"package":"paddlepaddle","purl":"pkg:pypi/paddlepaddle","source":"PYSEC-2026-444"}],"prev":{"headline":"Remote Code Execution due to Full Controlled File Write in mlflow/mlflow","id":"CVE-2024-0520"},"products":["paddlepaddle/paddle"],"published":"2024-01-20","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":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-05-30","vendors":["paddlepaddle"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-0521/"}