CVE-2019-10868: Trytond Tryton Improper Access Control Vulnerability
HIGHCVE-2019-10868 is a HIGH (CVSS 6.5) tryton improper access control vulnerability (CWE-862: Missing Authorization) affecting Trytond libraries in the PyPI ecosystem. The issue involves tryton improper access control. Remediation is available by upgrading affected packages to version 4.2.21, 4.4.19, 4.6.14, 4.8.10, 5.0.6.
CVE-2019-10868 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2019-10868
To remediate this vulnerability, upgrade all affected Trytond 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 trytond>=4.2.21
pip install trytond>=4.4.19
pip install trytond>=4.6.14
pip install trytond>=4.8.10
pip install trytond>=5.0.6
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show trytond
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2019-10868, inspect your installed packages using pip:
pip show trytond
Analyze the terminal output to locate any version of Trytond in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.2.21), your application is affected.
Note: The pip show trytond command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In Trytond, 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-2019-10868 Affected Trytond Versions
5 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
trytond
|
PyPI |
≥ 4.2.0
< 4.2.21
|
4.2.21
|
|
trytond
|
PyPI |
≥ 4.4.0
< 4.4.19
|
4.4.19
|
|
trytond
|
PyPI |
≥ 4.6.0
< 4.6.14
|
4.6.14
|
|
trytond
|
PyPI |
≥ 4.8.0
< 4.8.10
|
4.8.10
|
|
trytond
|
PyPI |
≥ 5.0.0
< 5.0.6
|
5.0.6
|
References
Frequently Asked Questions
What is CVE-2019-10868?
Which Trytond versions are affected?
What version fixes CVE-2019-10868?
Is trytond affected?
What is the CVSS score of CVE-2019-10868?
What CWE is associated with CVE-2019-10868?
How can I check PyPI dependencies for CVE-2019-10868?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f6f2-pwrj-64h3",
"modified" : "2024-11-18T22:30:35Z",
"published" : "2019-04-10T14:31:37Z",
"aliases" : [ "CVE-2019-10868" ],
"summary" : "Tryton Improper Access Control",
"details" : "In `trytond/model/modelstorage.py` in Tryton 4.2 before 4.2.21, 4.4 before 4.4.19, 4.6 before 4.6.14, 4.8 before 4.8.10, and 5.0 before 5.0.6, an authenticated user can order records based on a field for which he has no access right. This may allow the user to guess values.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "trytond"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.2.0"
}, {
"fixed" : "4.2.21"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "trytond"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.4.0"
}, {
"fixed" : "4.4.19"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "trytond"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.6.0"
}, {
"fixed" : "4.6.14"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "trytond"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.8.0"
}, {
"fixed" : "4.8.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "trytond"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.6"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10868"
}, {
"type" : "WEB",
"url" : "https://discuss.tryton.org/t/security-release-for-issue8189/1262"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/trytond/PYSEC-2019-127.yaml"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/tryton/trytond"
}, {
"type" : "WEB",
"url" : "https://hg.tryton.org/trytond/rev/f58bbfe0aefb"
}, {
"type" : "WEB",
"url" : "https://seclists.org/bugtraq/2019/Apr/14"
}, {
"type" : "WEB",
"url" : "https://www.debian.org/security/2019/dsa-4426"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:33:51Z",
"nvd_published_at" : null
}
}