CVE-2025-54287
MEDIUM6.5EPSS 0.07%Canonical LXD Arbitrary File Read via Template Injection in Snapshot Patterns in github.com/lxc/lxd
發布日:2025/10/2修改日:2026/4/28
描述
Template Injection in instance snapshot creation component in Canonical LXD (>= 4.0) allows an attacker with instance configuration permissions to read arbitrary files on the host system via specially crafted snapshot pattern templates using the Pongo2 template engine.
受影響套件(5)
- Debian/incusfrom 0, < 6.0.4-2+deb13u1
- Debian/lxdfrom 0, < 5.0.2-5+deb12u1
- Go/github.com/lxc/lxd>= 4.0.0, < 5.21.4
- Go/github.com/lxc/lxdfrom 0
- Go/github.com/lxc/lxd/v6from 0
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |