# GHSA-67cx-rhhq-mfhq: High severity vulnerability that affects indico

> Malicious users can inject LaTeX commands to read local server files, requiring an upgrade to Indico.

- **Severity:** Not scored
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 11 Oct 2019

## What is GHSA-67cx-rhhq-mfhq?

GHSA-67cx-rhhq-mfhq is a code injection vulnerability in indico, published on 11 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.

### Official description

## Local file disclosure through LaTeX injection

### Impact
An 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`).

As far as we know it is not possible to write files or execute code using this vulnerability.

### Patches
You need to update to [Indico 2.2.3](https://github.com/indico/indico/releases/tag/v2.2.3) as soon as possible.
We 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.
See https://docs.getindico.io/en/stable/installation/upgrade/ for instructions on how to update.

### Workarounds
Setting `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.

### For more information
If you have any questions or comments about this advisory:
* Open a thread in [our forum](https://talk.getindico.io/)
* Email us privately at [indico-team@cern.ch](mailto:indico-team@cern.ch)

## Which versions are affected by GHSA-67cx-rhhq-mfhq?

4 open source packages ship an affected version, including indico.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `indico` | PyPI | All versions | 2.1.10 |
| `indico` | PyPI | All versions | 2.1.10 |
| `indico` | PyPI | From 2.2.0 | 2.2.3 |
| `indico` | PyPI | From 2.2.0 | 2.2.3 |

## How do I fix GHSA-67cx-rhhq-mfhq?

Upgrade indico to a fixed version for your release line: 2.1.10 or 2.2.3.

## Is GHSA-67cx-rhhq-mfhq being exploited?

There is no known exploitation of GHSA-67cx-rhhq-mfhq in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for GHSA-67cx-rhhq-mfhq and fix it if it is affected.

What it is: GHSA-67cx-rhhq-mfhq is a code injection vulnerability in indico, published on 11 Oct 2019. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of GHSA-67cx-rhhq-mfhq in the wild and no public exploit code.

Affected packages and fixed versions:
- indico (PyPI): affected all versions; fixed in 2.1.10
- indico (PyPI): affected all versions; fixed in 2.1.10
- indico (PyPI): affected from 2.2.0; fixed in 2.2.3
- indico (PyPI): affected from 2.2.0; fixed in 2.2.3

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/GHSA-67cx-rhhq-mfhq/ (Markdown: https://insights.sbomify.com/GHSA-67cx-rhhq-mfhq/index.md)
```

## Sources

- OSV: https://osv.dev/vulnerability/GHSA-67cx-rhhq-mfhq

---
From sbomify Insights: https://insights.sbomify.com/GHSA-67cx-rhhq-mfhq/
Summaries are generated and may contain mistakes; the official description above is the record.
