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.
Published: 2026-06-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Metrics::Any::Adapter::Statsd, a Perl module for transmitting statistics to a StatsD server, contains an input validation flaw that allows metric injection. The library's send method accepts raw metric strings without sanitizing names or values. Attackers can craft names containing newlines and StatsD control characters such as colons or pipes, causing the StatsD server to interpret injected data as separate metrics or commands. This flaw is CWE‑93. The impact is compromised data integrity and potential denial of service, as injected metrics can skew dashboards, trigger alarms, or exhaust server resources.

Affected Systems

Perl modules built on PEVANS::Metrics::Any::Adapter::Statsd prior to version 0.04 are affected. The vulnerability is fixed in release 0.04 and later, which blocks metric names containing control characters and characters below ASCII 32. Any environment that uses the older module for logging statistics to StatsD servers—such as application servers or monitoring agents—must assess if it includes a vulnerable version.

Risk and Exploitability

The CVSS score is not provided, and the EPSS score is unavailable, so the theoretical likelihood of exploitation cannot be quantified from the CVE data. The flaw can be exercised remotely by any actor able to send data to the StatsD endpoint, typically over UDP or TCP, making the attack vector likely network‑based. The absence of a listing in CISA’s KEV catalog indicates no known production exploitation as of this record, but the severity of potential data integrity damage warrants proactive remediation.

Generated by OpenCVE AI on June 10, 2026 at 20:36 UTC.

Remediation

Vendor Solution

Upgrade to v0.04 or later.


OpenCVE Recommended Actions

  • Upgrade Metrics::Any::Adapter::Statsd to version 0.04 or newer
  • Remove any instances of the older module from your deployment to eliminate the vulnerability
  • Restrict access to your StatsD service so that only trusted application hosts can write metrics
  • Monitor incoming metrics for patterns that resemble injection attempts, such as unexpected newline characters or control symbol usage

Generated by OpenCVE AI on June 10, 2026 at 20:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 10 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
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.
Title Metrics::Any::Adapter::Statsd versions before 0.04 for Perl does not protect against metric injections
Weaknesses CWE-93
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: CPANSec

Published:

Updated: 2026-06-10T18:32:11.614Z

Reserved: 2026-06-05T12:07:20.886Z

Link: CVE-2026-50637

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-06-10T19:16:37.263

Modified: 2026-06-10T20:19:35.917

Link: CVE-2026-50637

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T20:45:40Z

Weaknesses