Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| MIYAGAWA | Plack::Middleware::Session::Cookie | ≤ 0.21 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | libplack-middleware-session-perl | 0.24-1 | — |
| Debian 13 | libplack-middleware-session-perl | 0.24-1 | — |
| Debian 12 | libplack-middleware-session-perl | 0.24-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | libplack-middleware-session-perl | No fix yet | — |
| Ubuntu 18.04 LTS | libplack-middleware-session-perl | No fix yet | — |
| Ubuntu 16.04 LTS | libplack-middleware-session-perl | No fix yet | — |
References
- https://gist.github.com/miyagawa/2b8764af908a0dacd43d technical-description
- https://metacpan.org/release/MIYAGAWA/Plack-Middleware-Session-0.23-TRIAL/changes release-notes