Description
Net::Statsd versions before 0.13 for Perl allow metric injections.
The metric names are not checked for newlines, colons or pipes. Metrics generated from untrusted sources could inject additional statsd metrics.
The update_stats (used for updating counters) and gauge methods do not check that values are numeric (which would block metric injection).
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| COSIMO | Net::Statsd | < 0.13 | 0.13 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libnet-statsd-perl | 0.13-1 | — |
| Debian 13 | libnet-statsd-perl | No fix yet | — |
| Debian 12 | libnet-statsd-perl | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | libnet-statsd-perl | No fix yet | — |
| Ubuntu 26.04 LTS | libnet-statsd-perl | No fix yet | — |
| Ubuntu 25.10 | libnet-statsd-perl | No fix yet | — |
| Ubuntu 24.04 LTS | libnet-statsd-perl | No fix yet | — |
| Ubuntu 22.04 LTS | libnet-statsd-perl | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libnet-statsd-perl | No fix yet | — |
| Ubuntu 18.04 LTS | libnet-statsd-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libnet-statsd-perl | No fix yet | — |