CVE-2026-50637
JSON

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 packageVersionsReported by
Metrics-Any-Adapter-Statsdbefore 0.04CVE List
pevans metrics::any::adapter::statsdbefore 0.04NVD

Classification

CWE-93CWE-150

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

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

Sources

SourceRecordLicence
CVE ListCVE-2026-50637 changed 2026-06-19CVE Terms of Use
NVDCVE-2026-50637 changed 2026-10-25Public domain