一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-9270 [CRITICAL] – DataDog::DogStatsd versions through 0.07 for Perl allow metric injections. DataDog::DogSt

未分类
📑 文章目录

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.