Vulnerabilities in pkg:pypi/beaker

PACKAGE
Advisory Identifier: GHSA-39vm-p9mr-4r27
Advisory Summary

CVE-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.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/beaker

1 Known Advisory Record(s)

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

CVE Identifier CVE-2012-3458
GHSA Identifier GHSA-39vm-p9mr-4r27
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-326: Inadequate Encryption Strength
Affected Product Beaker
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability None (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.

beaker fixed: 1.6.4
pip install beaker>=1.6.4
Verify Direct and Transitive Dependencies

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

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.

CVE-2012-3458 Affected Beaker Versions

1 component(s)
Fixed Versions:
1.6.4
Product / Package Ecosystem Affected Versions Fixed Version
beaker
PyPI
< 1.6.4
1.6.4

References

Frequently Asked Questions

What is CVE-2012-3458?
CVE-2012-3458 is a security vulnerability in Beaker involving Beaker Sensitive Information Disclosure vulnerability under CWE-326: Inadequate Encryption Strength.
Which Beaker versions are affected?
Affected versions include releases prior to 1.6.4 across affected packages: beaker.
What version fixes CVE-2012-3458?
Upgrading to 1.6.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is beaker affected?
Yes, beaker is affected in releases prior to 1.6.4. Upgrade your dependency to 1.6.4 or later.
What is the CVSS score of CVE-2012-3458?
CVE-2012-3458 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
What CWE is associated with CVE-2012-3458?
CVE-2012-3458 is classified under CWE-326: Inadequate Encryption Strength (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.).
How can I check PyPI dependencies for CVE-2012-3458?
Run the dependency tree command: 'pip show beaker'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}