CVE-2024-56327 Malicious plugin names, recipients, or identities can cause arbitrary binary execution in pyrage
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- Ubuntu
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, 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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi pyrage(PyPI) | = 1.2.1; = 1.2.2; >= 1.2.0, < 1.2.3 | 1.2.3 | Fixed |
| ubuntu/age(Ubuntu 24.04) | < 1.1.1-1ubuntu0.24.04.3+esm1 | 1.1.1-1ubuntu0.24.04.3+esm1 | Fixed |
| woodruffw pyrage | = >= 1.2.0, < 1.2.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi pyrage(PyPI) | >= 1.2.0, < 1.2.3 | 1.2.3 |
| pypi pyrage(PyPI) | = 1.2.1 | No fix listed |
| pypi pyrage(PyPI) | = 1.2.2 | No fix listed |
| woodruffw pyrage | = >= 1.2.0, < 1.2.3 | No fix listed |
| ubuntu/age(Ubuntu:24.04) | < 1.1.1-1ubuntu0.24.04.3+esm1 | 1.1.1-1ubuntu0.24.04.3+esm1 |
References
- https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c vendor-advisory
- github.com vendor-advisory
- https://github.com/woodruffw/pyrage/security/advisories/GHSA-47h8-jmp3-9f28 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/advisories/GHSA-4fg7-vxc8-qx5w vendor-advisory
- github.com product
- pypi.org product
- github.com vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8372-1 vendor-advisory
- www.cve.org