woodruffw/pyrage · Security
pyrage vulnerable to malicious plugin names, recipients, or identities causing arbitrary binary execution
- GHSA ID
- GHSA-47h8-jmp3-9f28
- CVE ID
- CVE-2024-56327
- Severity
- high
- Published
- Updated
- CVSS
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 9.8 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- CVSS v4
- 7.7 · 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
Description
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.
Thanks to ⬡-49016 for reporting this issue.
CWEs
- CWE-25 · Path Traversal: '/../filedir'
- CWE-94 · Improper Control of Generation of Code ('Code Injection')
- CWE-1395 · Dependency on Vulnerable Third-Party Component
References
- https://github.com/FiloSottile/age/security/advisories/GHSA-32gq-x56h-299c ↗
- https://github.com/str4d/rage/security/advisories/GHSA-4fg7-vxc8-qx5w ↗
- https://github.com/woodruffw/pyrage/security/advisories/GHSA-47h8-jmp3-9f28 ↗
- https://nvd.nist.gov/vuln/detail/CVE-2024-56327 ↗
- https://github.com/advisories/GHSA-4fg7-vxc8-qx5w ↗
- https://github.com/advisories/GHSA-47h8-jmp3-9f28 ↗