CVE-2013-7489: Beaker Deserialization Of Untrusted Data Vulnerability

MODERATE
Advisory Identifier: GHSA-3cwm-7jmm-774w
CWE-502
Published
Advisory Summary

CVE-2013-7489 is a MODERATE deserialization of untrusted data vulnerability (CWE-502: Deserialization of Untrusted Data) affecting Beaker libraries in the PyPI ecosystem. The issue involves deserialization of untrusted data in beaker. Remediation is available in the latest vendor maintenance releases.

CVE-2013-7489 at a Glance

CVE Identifier CVE-2013-7489
GHSA Identifier GHSA-3cwm-7jmm-774w
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product Beaker
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2013-7489

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: Latest secure release
pip install Beaker>=Latest secure release
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-2013-7489, 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 the patched release), 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-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. 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

The Beaker library through 1.11.0 for Python is affected by deserialization of untrusted data, which could lead to arbitrary code execution.

CVE-2013-7489 Affected Beaker Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
Beaker
PyPI
≤ 1.11.0

References

Frequently Asked Questions

What is CVE-2013-7489?
CVE-2013-7489 is a security vulnerability in Beaker involving Deserialization of Untrusted Data in Beaker under CWE-502: Deserialization of Untrusted Data.
Which Beaker versions are affected?
Affected versions include releases prior to current release patches across affected packages: Beaker.
What version fixes CVE-2013-7489?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is Beaker affected?
Yes, Beaker is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What CWE is associated with CVE-2013-7489?
CVE-2013-7489 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check PyPI dependencies for CVE-2013-7489?
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-3cwm-7jmm-774w",
  "modified" : "2022-07-07T23:11:39Z",
  "published" : "2022-05-05T00:29:41Z",
  "aliases" : [ "CVE-2013-7489" ],
  "summary" : "Deserialization of Untrusted Data in Beaker",
  "details" : "The Beaker library through 1.11.0 for Python is affected by deserialization of untrusted data, which could lead to arbitrary code execution.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "Beaker"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "last_affected" : "1.11.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-7489"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/bbangert/beaker/issues/191"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1850105"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-3cwm-7jmm-774w"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/bbangert/beaker"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/beaker/PYSEC-2020-216.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://www.openwall.com/lists/oss-security/2020/05/14/11"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-07-07T23:11:39Z",
    "nvd_published_at" : "2020-06-26T20:15:00Z"
  }
}