8.2high
Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against metric injections
- Severity
- 8.2high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.32% (higher than 27% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- CPANSec
Description
Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against metric injections. The statsd protocol (and extensions) allow mutiple metrics, separated by newlines, to be sent per packet. The send method does not validate the contents of the metric names or values. If the names have newlines and statsd control characters (colon, pipe) then metric injections are possible. Version 0.04 fixed this by modifying the _make method to block metric names with characters below ASCII 32 (which includes the newline), or colons or pipes.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Metrics-Any-Adapter-Statsd | before 0.04 | CVE List |
| pevans metrics::any::adapter::statsd | before 0.04 | NVD |
Classification
What each source says
CVE List
Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against metric injections. The statsd protocol (and extensions) allow mutiple metrics, separated by newlines, to be sent per packet. The send method does not validate the contents of the metric names or values. If the names have newlines and statsd control characters (colon, pipe) then metric injections are possible. Version 0.04 fixed this by modifying the _make method to block metric names with characters below ASCII 32 (which includes the newline), or colons or pipes.
NVD (es)
Las versiones de Metrics::Any::Adapter::Statsd anteriores a la 0.04 para Perl no protegen contra inyecciones de métricas. El protocolo statsd (y extensiones) permiten que se envíen múltiples métricas, separadas por saltos de línea, por paquete. El método send no valida el contenido de los nombres o valores de las métricas. Si los nombres tienen saltos de línea y caracteres de control de statsd (dos puntos, barra vertical), entonces son posibles las inyecciones de métricas. La versión 0.04 solucionó esto modificando el método _make para bloquear nombres de métricas con caracteres por debajo de ASCII 32 (lo que incluye el salto de línea), o dos puntos o barras verticales.
References
| https://metacpan.org/release/PEVANS/Metrics-Any-Adapter-Statsd-0.04/changes | release-notes | |
| https://www.cve.org/CVERecord?id=CVE-2026-46719 | related, third-party-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2026-46720 | related, third-party-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2026-46739 | related, third-party-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2026-50638 | related, third-party-advisory | |
| https://www.cve.org/CVERecord?id=CVE-2026-50639 | related, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50637 changed 2026-06-19 | CVE Terms of Use |
| NVD | CVE-2026-50637 changed 2026-10-25 | Public domain |