lxd: Improper output encoding in Prometheus metrics exposition
Improper output encoding in Prometheus metrics exposition in Canonical LXD before 5.0.12, 5.21.10, 6.10.2 allows a user controlling a virtual machine to forge host metric labels and break metrics scraping via unescaped guest-controlled filesystem mountpoints and network interface names.
Improper Encoding or Escaping of Output CWE-116
The product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Weakness data: MITRE Common Weakness Enumeration.
New to this? Read how to keep your software updated.
The products and versions NIST lists as vulnerable. If what you run is not listed it is probably not affected, but ask your provider if you are unsure.
| Product | Type | Vulnerable versions | Fixed in |
|---|---|---|---|
| Canonical LXD | Software | from 5.0, before 5.0.12; from 5.0, before 5.21.10; from 5.0, before 6.10.2 | 5.0.12; 5.21.10; 6.10.2 |
The 7.1 severity score (high) from ubuntu.com, broken into what it means in practice. Red means it makes the flaw easier or worse.
| How it is reached | Network | Can be attacked from anywhere on the internet, with no need to be near the target. |
| How hard it is | Low | Easy to carry out. No special conditions have to line up. |
| Setup needed on the target | None | No special setup on the target is needed. |
| Login needed | Low | The attacker needs an ordinary user account. |
| Someone has to act | None | Nobody has to click or open anything. It can happen on its own. |
| Data exposed | None | No data can be read. |
| Data changed | Low | The attacker can change some data, but not everything. |
| Service disrupted | High | The attacker can take the service down completely. |
NIST lists 1 sources for this flaw, none tagged as a vendor patch.