CRITICAL🇵🇱 Wersja polska

CVE-2026-9270

CVSS 9.1pub. 2026-06-05upd. 2026-06-10

DataDog::DogStatsd versions through 0.07 for Perl allow metric injections. DataDog::DogStatsd does not properly sanitise input, allowing metric injections of data from untrusted sources. The send_stats method does not remove newlines from metric names ($stat variable), allowing attackers to change the metric name prefix. The send_stats method does not validate the content of the value ($delta variable), allowing attackers to inject metrics, especially from methods that do not restrict the data type for the value, such as set, gauge, count and histogram. The send_stats method does not validate the content of the tags, which may contain newlines, pipes and colons that allow metric injections. Note that the SYNOPSIS shows an example of passing a website form "loginName" parameter as a tag, which is unsafe.

🤖 AI Analysis
How it works

The send_stats method does not remove newline characters from metric names (variable $stat), which allows an attacker to alter the metric name prefix. This method also does not validate the content of values (variable $delta), making it possible to inject arbitrary metrics — especially through methods such as set, gauge, count, and histogram, which do not restrict the data type for this value. Additionally, tags passed to send_stats are not validated for the presence of newline characters, pipe characters (|), and colons, which enable metric injection attacks. The library documentation (SYNOPSIS section) shows as an example passing the form parameter 'loginName' directly as a tag, which constitutes a vulnerable usage pattern.

Impact

An attacker can inject arbitrary metrics into the monitoring system, manipulating data collected by DataDog, which may lead to falsification of application statistics and violation of monitoring data integrity (CWE-93, CWE-150). High level of impact on confidentiality and integrity indicates risk of impersonating other metrics and potential disclosure of sensitive data through manipulated metric names or tags.

Mitigation & patch

Patches available from the vendor should be applied according to references. Additionally, untrusted input data (such as HTTP form parameters) should no longer be passed directly as metric names, values, or tags to the DogStatsd library without prior validation and sanitization.

Who is affected

DataDog::DogStatsd for Perl in versions up to and including 0.07

Analysis generated by Claude AI (Anthropic) based on NVD data. Always verify with vendor.
CVSS Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
  • Binary Datadog\

    APP
    Binary
    \
🔵
CHECK WITH VENDOR
No clear patch data available. Check vendor references.
CWE
References

Related vulnerabilities

CVE-2026-11362CRITICAL9.8PL ✓same product

DataDog::DogStatsd dla Perl – podatność na metric injection przez tagi zdarzeń