{"answers":{"affected":"32 open source packages ship an affected version, including pyrage, filippo.io/age and age.","exploited":"There is no known exploitation of CVE-2024-56327 in the wild and no public exploit code.","fix":"Upgrade pyrage to 1.2.3 or later.","what":"CVE-2024-56327 is a high-severity vulnerability in woodruffw pyrage, published on 19 Dec 2024."},"fix_prompt":"Check this codebase for CVE-2024-56327 and fix it if it is affected.\n\nWhat it is: CVE-2024-56327 is a high-severity vulnerability in woodruffw pyrage, published on 19 Dec 2024. \nExploitation: There is no known exploitation of CVE-2024-56327 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- pyrage (PyPI): affected from 1.2.0; fixed in 1.2.3\n- pyrage (PyPI): affected from 1.2.0; fixed in 1.2.3\n- pyrage (PyPI): affected from 1.2.0; fixed in 1.2.3\n- filippo.io/age (Go): affected all versions; fixed in 1.2.1\n- filippo.io/age (Go): affected all versions; fixed in 1.2.1\n- filippo.io/age (Go): affected all versions; fixed in 1.2.1\n- age (crates.io): affected from 0.10.0; fixed in 0.10.1\n- age (crates.io): affected from 0.10.0; fixed in 0.10.1\n- age (crates.io): affected from 0.11.0; fixed in 0.11.1\n- age (crates.io): affected from 0.11.0; fixed in 0.11.1\n- age (crates.io): affected from 0.6.0; fixed in 0.6.1, 0.7.2, 0.8.2, 0.9.3, 0.10.1, 0.11.1\n- age (crates.io): affected from 0.6.0; fixed in 0.6.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-56327/ (Markdown: https://insights.sbomify.com/CVE-2024-56327/index.md)","id":"CVE-2024-56327","markdown":"https://insights.sbomify.com/CVE-2024-56327/index.md","name":"CVE-2024-56327","record":{"aliases":["CLEANSTART-2025-CS89495","GHSA-32gq-x56h-299c","GHSA-47h8-jmp3-9f28","GHSA-4fg7-vxc8-qx5w","GO-2024-3344","MINI-cj3v-chmh-r24v","MINI-r86j-x9jh-chjr","PYSEC-2026-1839","RUSTSEC-2024-0432","RUSTSEC-2024-0433","UBUNTU-CVE-2024-56327","USN-8372-1"],"analysis":null,"analysis_generated_by":null,"assigner":"GitHub_M","cpe":[],"cvss":{"score":7.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"description":"pyrage is a set of Python bindings for the rage file encryption library (age in Rust). `pyrage` uses the Rust `age` crate for its underlying operations, and `age` is vulnerable to GHSA-4fg7-vxc8-qx5w. All details of GHSA-4fg7-vxc8-qx5w are relevant to `pyrage` for the versions specified in this advisory. See GHSA-4fg7-vxc8-qx5w for full details. Versions of `pyrage` before 1.2.0 lack plugin support and are therefore **not affected**. An equivalent issue was fixed in [the reference Go implementation of age](https://github.com/FiloSottile/age), see advisory GHSA-32gq-x56h-299c. This issue has been addressed in version 1.2.3 and all users are advised to update. There are no known workarounds for this vulnerability.","ecosystems":["Go","PyPI","crates.io"],"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":"Malicious plugin names, recipients, or identities can cause arbitrary binary execution in pyrage","id":"CVE-2024-56327","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":null,"year":"2024"},"n_packages":32,"n_references":3,"next":{"headline":"HTMLi(XSS without CSP) via Onebox urls in Discourse","id":"CVE-2024-56328"},"packages":[{"ecosystem":"Go","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"filippo.io/age","purl":null,"source":"GHSA-32gq-x56h-299c"},{"ecosystem":"Go","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"filippo.io/age","purl":"pkg:golang/filippo.io/age","source":"GHSA-32gq-x56h-299c"},{"ecosystem":"Go","fixed":["1.2.1"],"introduced":["0"],"last_affected":[],"package":"filippo.io/age","purl":"pkg:golang/filippo.io/age","source":"GO-2024-3344"},{"ecosystem":"PyPI","fixed":["1.2.3"],"introduced":["1.2.0"],"last_affected":[],"package":"pyrage","purl":null,"source":"GHSA-47h8-jmp3-9f28"},{"ecosystem":"PyPI","fixed":["1.2.3"],"introduced":["1.2.0"],"last_affected":[],"package":"pyrage","purl":"pkg:pypi/pyrage","source":"GHSA-47h8-jmp3-9f28"},{"ecosystem":"PyPI","fixed":["1.2.3"],"introduced":["1.2.0"],"last_affected":[],"package":"pyrage","purl":"pkg:pypi/pyrage","source":"PYSEC-2026-1839"},{"ecosystem":"crates.io","fixed":["0.10.1"],"introduced":["0.10.0"],"last_affected":[],"package":"age","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.10.1"],"introduced":["0.10.0"],"last_affected":[],"package":"age","purl":"pkg:cargo/age","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.11.1"],"introduced":["0.11.0"],"last_affected":[],"package":"age","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.11.1"],"introduced":["0.11.0"],"last_affected":[],"package":"age","purl":"pkg:cargo/age","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.6.1","0.7.2","0.8.2","0.9.3","0.10.1","0.11.1"],"introduced":["0.6.0","0.7.0","0.8.0","0.9.0","0.10.0","0.11.0"],"last_affected":[],"package":"age","purl":"pkg:cargo/age","source":"RUSTSEC-2024-0433"},{"ecosystem":"crates.io","fixed":["0.6.1"],"introduced":["0.6.0"],"last_affected":[],"package":"age","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.6.1"],"introduced":["0.6.0"],"last_affected":[],"package":"age","purl":"pkg:cargo/age","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.7.2"],"introduced":["0.7.0"],"last_affected":[],"package":"age","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.7.2"],"introduced":["0.7.0"],"last_affected":[],"package":"age","purl":"pkg:cargo/age","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.8.2"],"introduced":["0.8.0"],"last_affected":[],"package":"age","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.8.2"],"introduced":["0.8.0"],"last_affected":[],"package":"age","purl":"pkg:cargo/age","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.9.3"],"introduced":["0.9.0"],"last_affected":[],"package":"age","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.9.3"],"introduced":["0.9.0"],"last_affected":[],"package":"age","purl":"pkg:cargo/age","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.10.1"],"introduced":["0.10.0"],"last_affected":[],"package":"rage","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.10.1"],"introduced":["0.10.0"],"last_affected":[],"package":"rage","purl":"pkg:cargo/rage","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.11.1"],"introduced":["0.11.0"],"last_affected":[],"package":"rage","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.11.1"],"introduced":["0.11.0"],"last_affected":[],"package":"rage","purl":"pkg:cargo/rage","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.6.1","0.7.2","0.8.2","0.9.3","0.10.1","0.11.1"],"introduced":["0.6.0","0.7.0","0.8.0","0.9.0","0.10.0","0.11.0"],"last_affected":[],"package":"rage","purl":"pkg:cargo/rage","source":"RUSTSEC-2024-0432"},{"ecosystem":"crates.io","fixed":["0.6.1"],"introduced":["0.6.0"],"last_affected":[],"package":"rage","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.6.1"],"introduced":["0.6.0"],"last_affected":[],"package":"rage","purl":"pkg:cargo/rage","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.7.2"],"introduced":["0.7.0"],"last_affected":[],"package":"rage","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.7.2"],"introduced":["0.7.0"],"last_affected":[],"package":"rage","purl":"pkg:cargo/rage","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.8.2"],"introduced":["0.8.0"],"last_affected":[],"package":"rage","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.8.2"],"introduced":["0.8.0"],"last_affected":[],"package":"rage","purl":"pkg:cargo/rage","source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.9.3"],"introduced":["0.9.0"],"last_affected":[],"package":"rage","purl":null,"source":"GHSA-4fg7-vxc8-qx5w"},{"ecosystem":"crates.io","fixed":["0.9.3"],"introduced":["0.9.0"],"last_affected":[],"package":"rage","purl":"pkg:cargo/rage","source":"GHSA-4fg7-vxc8-qx5w"}],"prev":{"headline":"Jinja has a sandbox breakout through indirect reference to format method","id":"CVE-2024-56326"},"products":["pyrage"],"published":"2024-12-19","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":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"open","licence":"CC0 1.0","name":"RustSec","prefix":"RUSTSEC"},{"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":"2024-12-20","vendors":["woodruffw"]},"summary":null,"url":"https://insights.sbomify.com/CVE-2024-56327/"}