CVE-2014-125112 PUBLISHED

Plack::Middleware::Session::Cookie versions through 0.21 for Perl allows remote code execution

Assigner: CPANSec
Reserved: 08.07.2025 Published: 26.03.2026 Updated: 26.03.2026

Plack::Middleware::Session::Cookie versions through 0.21 for Perl allows remote code execution.

Plack::Middleware::Session::Cookie versions through 0.21 has a security vulnerability where it allows an attacker to execute arbitrary code on the server during deserialization of the cookie data, when there is no secret used to sign the cookie.

Product Status

Vendor MIYAGAWA
Product Plack::Middleware::Session::Cookie
Versions Default: unaffected
  • affected from 0 to 0.21 (incl.)

Workarounds

Set the "secret" option.

Solutions

Upgrade Plack::Middleware::Session to version 0.23 or later (ideally version 0.36 or later), and set the "secret" option.

Credits

  • mala (@bulkneets) finder

References

Problem Types

  • CWE-565 Reliance on Cookies without Validation and Integrity Checking CWE

Impacts

  • CAPEC-586 Object Injection