Track vulnerabilities like this one. Sign up free to get alerted when software you use is affected.
9.8

CVE-2011-10042: Perl HTTP::Session before 0.43 lets attackers inject memcached commands

CVE-2011-10042 · published 8 days ago
Summary

If you use the Perl HTTP::Session library version older than 0.43 and store sessions in memcached, an attacker can craft a malicious session ID that is sent to the cache server unchanged. By inserting line‑break characters into the session ID, the attacker can terminate the intended command and add their own commands, potentially allowing unauthorized actions on the cache. Upgrade to version 0.43 or later, or validate and sanitize session IDs before they are used as cache keys.

Original advisory text
HTTP::Session versions before 0.43 for Perl allow memcached command injection via unfiltered session ids in HTTP::Session::Store::Memcached
HTTP::Session versions before 0.43 for Perl allow memcached command injection via unfiltered session ids in HTTP::Session::Store::Memcached.

The session id from the client's cookie reaches memcached unchanged as the cache key.

A CR and LF in the session id end the cache command early, and the server reads the bytes after them as further commands.
Fix within
Internet-facing 3 days
Internal 60 days
  • Not known to be exploited
  • Can be exploited automatically
  • Gives an attacker full control
Severity
9.8 Critical
Exploitation
2% chance of attack within 30 days
Type
CWE-93Improper Neutralization of CRLF Sequences ('CRLF Injection')
Timeline
Published14 Nov 2026
Updated21 Nov 2026
First seen14 Nov 2026
Sources
CVE-2011-10042 · MITRE
Track software like this
Free during beta