[CVE-2026-93711] Dancer2 versions before 2.2.0 for Perl do not strip CR and L

CVE-2026-93711 | CVSS: 6.5 | 严重级别: MEDIUM

Dancer2 versions before 2.2.0 for Perl do not strip CR and LF from response header names in headers_to_array.

The routine removes CR and LF from each header value but not from the name. A name carrying them therefore reaches the PSGI server intact. A server that does not validate keys writes it to the wire, so the bytes after the CRLF arrive as their own header line.

The application has to derive the header name from request data, not just the value.

An attacker who controls that data adds their own headers and splits the response.

参考链接:
• https://github.com/PerlDancer/Dancer2/commit/ff89ac12af7b8899812a79e9924dfea7a5d
• https://github.com/PerlDancer/Dancer2/issues/1822
• https://metacpan.org/release/CROMEDOME/Dancer2-2.2.0/changes

📌 数据来源: NVD 官方

⚠️ 合规声明: 本文内容仅用于网络安全合规学习、科研与授权测试用途。严禁用于任何未授权行为,违者自行承担全部法律责任。
滚动至顶部