Vulnerabilities in pkg:pypi/beaker
PACKAGECVE-2012-3458 is a MODERATE (CVSS 5.3) beaker sensitive information disclosure vulnerability vulnerability (CWE-326: Inadequate Encryption Strength) affecting Beaker libraries in the PyPI ecosystem. The issue involves beaker sensitive information disclosure vulnerability. Remediation is available by upgrading affected packages to version 1.6.4.
pkg:pypi/beaker
Vulnerability advisories affecting package pkg:pypi/beaker. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-39vm-p9mr-4r27 | CVE-2012-3458 | MODERATE | Beaker Sensitive Information Disclosure vulnerability |
CVE-2012-3458 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2012-3458
To remediate this vulnerability, upgrade all affected Beaker dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install beaker>=1.6.4
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show beaker
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2012-3458, inspect your installed packages using pip:
pip show beaker
Analyze the terminal output to locate any version of Beaker in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.6.4), your application is affected.
Note: The pip show beaker command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-326: Inadequate Encryption Strength, where the product stores or transmits sensitive data using an encryption scheme that is theoretically sound, but is not strong enough for the level of protection required. In Beaker, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2012-3458 Affected Beaker Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
beaker
|
PyPI |
< 1.6.4
|
1.6.4
|
References
Frequently Asked Questions
What is CVE-2012-3458?
Which Beaker versions are affected?
What version fixes CVE-2012-3458?
Is beaker affected?
What is the CVSS score of CVE-2012-3458?
What CWE is associated with CVE-2012-3458?
How can I check PyPI dependencies for CVE-2012-3458?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-39vm-p9mr-4r27",
"modified" : "2024-09-12T21:05:41Z",
"published" : "2022-05-17T05:22:19Z",
"aliases" : [ "CVE-2012-3458" ],
"summary" : "Beaker Sensitive Information Disclosure vulnerability",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "beaker"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.6.4"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2012-3458"
}, {
"type" : "WEB",
"url" : "https://github.com/bbangert/beaker/commit/91becae76101cf87ce8cbfabe3af2622fc328fe5"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=809267"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/bbangert/beaker"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/beaker/PYSEC-2012-1.yaml"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20140724164516/http://secunia.com/advisories/50226"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20140725025612/http://secunia.com/advisories/50520"
}, {
"type" : "WEB",
"url" : "http://www.debian.org/security/2012/dsa-2541"
}, {
"type" : "WEB",
"url" : "http://www.openwall.com/lists/oss-security/2012/08/13/10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-326" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-05-01T10:58:46Z",
"nvd_published_at" : "2012-09-15T17:55:00Z"
}
}