Description
Beaker before 1.6.4, when using PyCrypto to encrypt sessions, uses AES in ECB cipher mode, which might allow remote attackers to obtain portions of sensitive session data via unspecified vectors.
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 | beaker | 1.6.3-1.1 | — |
| Debian 13 | beaker | 1.6.3-1.1 | — |
| Debian 12 | beaker | 1.6.3-1.1 | — |
| Debian 6.0 | beaker | 1.5.4-4+squeeze1 | DSA-2541-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-Beaker | 1.11.0-5.5 | openSUSE-SU-2026:11987-1, openSUSE-SU-2024:11203-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | beaker | < 1.6.4 | 1.6.4 | GHSA-39vm-p9mr-4r27 |
| PyPI | beaker | < 1.6.5.post1 | 1.6.5.post1 | PYSEC-2012-1 |
Advisories 3
- openSUSE-SU-2026:11987-1 python313-Beaker-1.13.0-2.4 on GA media SUSE / openSUSE Security Updates · Oct 5, 2026
- DSA-2541-1 beaker - information disclosure Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:11203-1 python36-Beaker-1.11.0-5.5 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/bbangert/beaker/commit/91becae76101cf87ce8cbfabe3af2622fc328fe5
- 50226 third-party-advisory
- 50520 third-party-advisory
- [oss-security] 20120813 ANN: Beaker 1.6.4 released with important security update mailing-list
- DSA-2541 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=809267