Vulnerabilities in pkg:pypi/djblets

PACKAGE
Advisory Identifier: GHSA-58h8-44mg-r43x
Advisory Summary

CVE-2013-4409 is a CRITICAL (CVSS 9.8) reviewboard and djblets library are vulnerability (CWE-20: Improper Input Validation) affecting Djblets libraries in the PyPI ecosystem. The issue involves reviewboard and djblets library are vulnerable to code execution. Remediation is available by upgrading affected packages to version 0.6.30, 0.7.19, 1.7.15.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:pypi/djblets

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:pypi/djblets. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-58h8-44mg-r43x CVE-2013-4409 CRITICAL ReviewBoard and Djblets library are vulnerable to code execution

CVE-2013-4409 at a Glance

CVE Identifier CVE-2013-4409
GHSA Identifier GHSA-58h8-44mg-r43x
Severity CRITICAL
CVSS v3.1 Base Score 9.8
CWE Classification CWE-20: Improper Input Validation
Affected Product Djblets
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 9.8

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:H/I:H/A:H).

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 High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2013-4409

To remediate this vulnerability, upgrade all affected Djblets dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

djblets fixed: 0.6.30
pip install djblets>=0.6.30
djblets fixed: 0.7.19
pip install djblets>=0.7.19
ReviewBoard fixed: 1.7.15
pip install ReviewBoard>=1.7.15
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 djblets

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2013-4409, inspect your installed packages using pip:

pip show djblets

Analyze the terminal output to locate any version of Djblets in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.6.30), your application is affected.

Note: The pip show djblets command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Djblets, 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

An eval() vulnerability exists in Python Software Foundation Djblets version before 0.6.30 and 0.7.0 before 0.7.19 and Beanbag Review Board before 1.7.15 when parsing JSON requests allowing an attacker to execute arbitrary Python code.

CVE-2013-4409 Affected Djblets Versions

3 component(s)
Fixed Versions:
0.6.300.7.191.7.15
Product / Package Ecosystem Affected Versions Fixed Version
djblets
PyPI
< 0.6.30
0.6.30
djblets
PyPI
≥ 0.7.0
< 0.7.19
0.7.19
ReviewBoard
PyPI
< 1.7.15
1.7.15

References

NVD — CVE-2013-4409 NVD
https://nvd.nist.gov/vuln/detail/CVE-2013-4409
Djblets Security Information SECURITY
https://access.redhat.com/security/cve/cve-2013-4409
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4409
Djblets Source Repository REPOSITORY
https://github.com/djblets/djblets
exchange.xforce.ibmcloud.com/vulnerabilities/880... WEB
https://exchange.xforce.ibmcloud.com/vulnerabilities/88059
Djblets Source Repository REPOSITORY
https://github.com/djblets/djblets/blob/release-0.7.19/NEWS
Djblets Source Repository REPOSITORY
https://github.com/pypa/advisory-database/tree/main/vulns/djblets/PYSEC-2019-175.yaml
Djblets Security Information SECURITY
https://security-tracker.debian.org/tracker/CVE-2013-4409
Djblets Security Information SECURITY
https://web.archive.org/web/20200228151135/https://www.securityfocus.com/bid/63029
www.reviewboard.org/docs/releasenotes/r... WEB
https://www.reviewboard.org/docs/releasenotes/reviewboard/1.7.15
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2013-November/120619.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119819.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119820.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119830.html
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119831.html

Frequently Asked Questions

What is CVE-2013-4409?
CVE-2013-4409 is a security vulnerability in Djblets involving ReviewBoard and Djblets library are vulnerable to code execution under CWE-20: Improper Input Validation.
Which Djblets versions are affected?
Affected versions include releases prior to 0.6.30, 0.7.19, 1.7.15 across affected packages: djblets, ReviewBoard.
What version fixes CVE-2013-4409?
Upgrading to 0.6.30, 0.7.19, 1.7.15 (or the latest patched release for your respective branch) resolves the vulnerability.
Is djblets affected?
Yes, djblets is affected in releases prior to 0.6.30, 0.7.19. Upgrade your dependency to 0.6.30, 0.7.19 or later.
Is ReviewBoard affected?
Yes, ReviewBoard is affected in releases prior to 1.7.15. Upgrade your dependency to 1.7.15 or later.
What is the CVSS score of CVE-2013-4409?
CVE-2013-4409 has a CVSS v3.1 base score of 9.8 (CRITICAL) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2013-4409?
CVE-2013-4409 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check PyPI dependencies for CVE-2013-4409?
Run the dependency tree command: 'pip show djblets'. 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-58h8-44mg-r43x",
  "modified" : "2024-09-20T16:54:33Z",
  "published" : "2022-05-05T00:29:00Z",
  "aliases" : [ "CVE-2013-4409" ],
  "summary" : "ReviewBoard and Djblets library are vulnerable to code execution",
  "details" : "An eval() vulnerability exists in Python Software Foundation Djblets version before 0.6.30 and 0.7.0 before 0.7.19 and Beanbag Review Board before 1.7.15 when parsing JSON requests allowing an attacker to execute arbitrary Python code.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "djblets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.6.30"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "djblets"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.7.0"
      }, {
        "fixed" : "0.7.19"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "ReviewBoard"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.7.15"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2013-4409"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/cve-2013-4409"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2013-4409"
  }, {
    "type" : "WEB",
    "url" : "https://exchange.xforce.ibmcloud.com/vulnerabilities/88059"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/djblets/djblets"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/djblets/djblets/blob/release-0.7.19/NEWS"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/djblets/PYSEC-2019-175.yaml"
  }, {
    "type" : "WEB",
    "url" : "https://security-tracker.debian.org/tracker/CVE-2013-4409"
  }, {
    "type" : "WEB",
    "url" : "https://web.archive.org/web/20200228151135/https://www.securityfocus.com/bid/63029"
  }, {
    "type" : "WEB",
    "url" : "https://www.reviewboard.org/docs/releasenotes/reviewboard/1.7.15"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-November/120619.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119819.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119820.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119830.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2013-October/119831.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-08-07T19:59:32Z",
    "nvd_published_at" : "2019-11-04T21:15:00Z"
  }
}