GHSA-67cx-rhhq-mfhq: Indico High Severity Vulnerability That Affects Vulnerability
HIGHGHSA-67cx-rhhq-mfhq is a HIGH high severity vulnerability that affects vulnerability (CWE-77: Improper Neutralization of Special Elements used in a Command ('Command Injection')) affecting Indico libraries in the PyPI ecosystem. The issue involves high severity vulnerability that affects indico. Remediation is available by upgrading affected packages to version 2.1.10, 2.2.3.
GHSA-67cx-rhhq-mfhq at a Glance
How to Fix GHSA-67cx-rhhq-mfhq
To remediate this vulnerability, upgrade all affected Indico 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 indico>=2.1.10
pip install indico>=2.2.3
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show indico
How to Check if You Are Affected
To determine whether your Python environment is affected by GHSA-67cx-rhhq-mfhq, inspect your installed packages using pip:
pip show indico
Analyze the terminal output to locate any version of Indico in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.10), your application is affected.
Note: The pip show indico 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 Indico, 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
GHSA-67cx-rhhq-mfhq Affected Indico Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
indico
|
PyPI |
< 2.1.10
|
2.1.10
|
|
indico
|
PyPI |
≥ 2.2.0
< 2.2.3
|
2.2.3
|
References
Frequently Asked Questions
What is GHSA-67cx-rhhq-mfhq?
Which Indico versions are affected?
What version fixes GHSA-67cx-rhhq-mfhq?
Is indico affected?
What CWE is associated with GHSA-67cx-rhhq-mfhq?
How can I check PyPI dependencies for GHSA-67cx-rhhq-mfhq?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-67cx-rhhq-mfhq",
"modified" : "2021-09-01T22:40:23Z",
"published" : "2019-10-11T18:28:07Z",
"aliases" : [ ],
"summary" : "High severity vulnerability that affects indico",
"details" : "## Local file disclosure through LaTeX injection\n\n### Impact\nAn external audit of the Indico codebase has discovered a vulnerability in Indico's LaTeX sanitization code, which could have malicious users to run unsafe LaTeX commands on the server. Such commands allowed for example to read local files (e.g. `indico.conf`).\n\nAs far as we know it is not possible to write files or execute code using this vulnerability.\n\n### Patches\nYou need to update to [Indico 2.2.3](https://github.com/indico/indico/releases/tag/v2.2.3) as soon as possible.\nWe also released [Indico 2.1.10](https://github.com/indico/indico/releases/tag/v2.1.10) in case you cannot update to 2.2 for some reason.\nSee https://docs.getindico.io/en/stable/installation/upgrade/ for instructions on how to update.\n\n### Workarounds\nSetting `XELATEX_PATH = None` in `indico.conf` will result in an error when building a PDF, but without being able to run xelatex, the vulnerability cannot be abused.\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open a thread in [our forum](https://talk.getindico.io/)\n* Email us privately at [indico-team@cern.ch](mailto:indico-team@cern.ch)\n\n",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "indico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2.1.10"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "indico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.3"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/indico/indico/security/advisories/GHSA-67cx-rhhq-mfhq"
}, {
"type" : "ADVISORY",
"url" : "https://github.com/advisories/GHSA-67cx-rhhq-mfhq"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/indico/indico"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-77" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2020-06-16T21:18:15Z",
"nvd_published_at" : null
}
}