critical9.8
CVE-2024-56327
pyrage vulnerable to malicious plugin names, recipients, or identities causing arbitrary binary execution
Impact
`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](https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c). Thanks to ⬡-49016 for reporting this issue.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | pyrage | >= 1.2.0, < 1.2.3 | 1.2.3 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c
- https://github.com/advisories/GHSA-4fg7-vxc8-qx5w
- https://github.com/woodruffw/pyrage/security/advisories/GHSA-47h8-jmp3-9f28
- https://github.com/advisories/GHSA-47h8-jmp3-9f28
- https://github.com/str4d/rage/security/advisories/GHSA-4fg7-vxc8-qx5w
- https://nvd.nist.gov/vuln/detail/CVE-2024-56327