CVE-2014-6633: Tryton Tryton Vulnerable To Arbitrary Command Vulnerability

HIGH
Advisory Identifier: GHSA-m9jj-5qvj-5fhx
CVSS 8.8
CWE-77
Published
Advisory Summary

CVE-2014-6633 is a HIGH (CVSS 8.8) tryton vulnerable to arbitrary command vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Tryton libraries in the PyPI ecosystem. The issue involves tryton vulnerable to arbitrary command execution. Remediation is available by upgrading affected packages to version 2.4.15, 2.6.14, 2.8.11, 3.2.3, 3.0.7.

CVE-2014-6633 at a Glance

CVE Identifier CVE-2014-6633
GHSA Identifier GHSA-m9jj-5qvj-5fhx
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')
Affected Product Tryton
Package Ecosystem PyPI
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
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-2014-6633

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

tryton fixed: 2.4.15
pip install tryton>=2.4.15
tryton fixed: 2.6.14
pip install tryton>=2.6.14
tryton fixed: 2.8.11
pip install tryton>=2.8.11
tryton fixed: 3.2.3
pip install tryton>=3.2.3
trytond fixed: 2.4.15
pip install trytond>=2.4.15
trytond fixed: 2.6.14
pip install trytond>=2.6.14
trytond fixed: 2.8.11
pip install trytond>=2.8.11
trytond fixed: 3.2.3
pip install trytond>=3.2.3
trytond fixed: 3.0.7
pip install trytond>=3.0.7
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 tryton

How to Check if You Are Affected

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

pip show tryton

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

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

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection'), where the product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component. In Tryton, 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 `safe_eval` function in trytond in Tryton before 2.4.15, 2.6.x before 2.6.14, 2.8.x before 2.8.11, 3.0.x before 3.0.7, and 3.2.x before 3.2.3 allows remote authenticated users to execute arbitrary commands via shell metacharacters in (1) the `collection.domain` in the webdav module or (2) the formula field in the `price_list` module.

CVE-2014-6633 Affected Tryton Versions

9 component(s)
Fixed Versions:
2.4.152.6.142.8.113.2.33.0.7
Product / Package Ecosystem Affected Versions Fixed Version
tryton
PyPI
< 2.4.15
2.4.15
tryton
PyPI
≥ 2.6.0
< 2.6.14
2.6.14
tryton
PyPI
≥ 2.8.0
< 2.8.11
2.8.11
tryton
PyPI
≥ 3.2.0
< 3.2.3
3.2.3
trytond
PyPI
≥ 2.4.0
< 2.4.15
2.4.15
trytond
PyPI
≥ 2.6.0
< 2.6.14
2.6.14
trytond
PyPI
≥ 2.8.0
< 2.8.11
2.8.11
trytond
PyPI
≥ 3.2.0
< 3.2.3
3.2.3
trytond
PyPI
≥ 3.0.0
< 3.0.7
3.0.7

References

Frequently Asked Questions

What is CVE-2014-6633?
CVE-2014-6633 is a security vulnerability in Tryton involving Tryton vulnerable to arbitrary command execution under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection').
Which Tryton versions are affected?
Affected versions include releases prior to 2.4.15, 2.6.14, 2.8.11, 3.2.3, 3.0.7 across affected packages: tryton, trytond.
What version fixes CVE-2014-6633?
Upgrading to 2.4.15, 2.6.14, 2.8.11, 3.2.3, 3.0.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is tryton affected?
Yes, tryton is affected in releases prior to 2.4.15, 2.6.14, 2.8.11, 3.2.3. Upgrade your dependency to 2.4.15, 2.6.14, 2.8.11, 3.2.3 or later.
Is trytond affected?
Yes, trytond is affected in releases prior to 2.4.15, 2.6.14, 2.8.11, 3.2.3, 3.0.7. Upgrade your dependency to 2.4.15, 2.6.14, 2.8.11, 3.2.3, 3.0.7 or later.
What is the CVSS score of CVE-2014-6633?
CVE-2014-6633 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2014-6633?
CVE-2014-6633 is classified under CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection') (The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.).
How can I check PyPI dependencies for CVE-2014-6633?
Run the dependency tree command: 'pip show tryton'. 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-m9jj-5qvj-5fhx",
  "modified" : "2024-11-18T22:55:28Z",
  "published" : "2022-05-14T03:21:41Z",
  "aliases" : [ "CVE-2014-6633" ],
  "summary" : "Tryton vulnerable to arbitrary command execution",
  "details" : "The `safe_eval` function in trytond in Tryton before 2.4.15, 2.6.x before 2.6.14, 2.8.x before 2.8.11, 3.0.x before 3.0.7, and 3.2.x before 3.2.3 allows remote authenticated users to execute arbitrary commands via shell metacharacters in (1) the `collection.domain` in the webdav module or (2) the formula field in the `price_list` module.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  }, {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "tryton"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.4.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "tryton"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.6.0"
      }, {
        "fixed" : "2.6.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "tryton"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "tryton"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.0"
      }, {
        "fixed" : "3.2.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "trytond"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.4.0"
      }, {
        "fixed" : "2.4.15"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "trytond"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.6.0"
      }, {
        "fixed" : "2.6.14"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "trytond"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.8.0"
      }, {
        "fixed" : "2.8.11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "trytond"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.2.0"
      }, {
        "fixed" : "3.2.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "trytond"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2014-6633"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tryton/trytond/commit/19fc2a01357b7638041953326e404f51d96fad06"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/tryton/trytond/commit/3e4c2b7e8c7b3358597a0d484fa98f45483ee92a"
  }, {
    "type" : "WEB",
    "url" : "https://bugs.tryton.org/issue4155"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2018-59.yaml"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/tryton/trytond"
  }, {
    "type" : "WEB",
    "url" : "http://www.tryton.org/posts/security-release-for-issue4155.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-77" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-29T11:11:05Z",
    "nvd_published_at" : "2018-04-12T15:29:00Z"
  }
}