Vulnerability · Published Dec 19, 2024 · Assigned by GitHub_M
CVE-2024-56327Malicious plugin names, recipients, or identities can cause arbitrary binary execution in pyrage
Critical 9.8
In plain English
A critical-severity code injection in pyrage from woodruffw. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | pyrage | 1.2.3 | GHSA-47h8-jmp3-9f28 |
| PyPI | pyrage | 1.2.3 | PYSEC-2026-1839 |
Affected products (as reported)
Weakness: CWE-94 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/woodruffw/pyrage/security/advisories/GHSA-47h8-jmp3-9f28 x_refsource_CONFIRM
- https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c x_refsource_MISC
- https://github.com/advisories/GHSA-4fg7-vxc8-qx5w x_refsource_MISC