CVE-2024-45399: Indico Indico Has A Cross-Site-Scripting During Vulnerability
MODERATECVE-2024-45399 is a MODERATE (CVSS 6.1) indico has a cross-site-scripting during vulnerability (CWE-1395: Dependency on Vulnerable Third-Party Component) affecting Indico libraries in the PyPI ecosystem. The issue involves indico has a cross-site-scripting during account creation. Remediation is available by upgrading affected packages to version 3.3.4.
CVE-2024-45399 at a Glance
Security Impact
CVSS: 6.1
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:R/S:C/C:L/I:L/A:N).
How to Fix CVE-2024-45399
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>=3.3.4
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 CVE-2024-45399, 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 3.3.4), 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-1395: Dependency on Vulnerable Third-Party Component, where the product has a dependency on a third-party component that contains one or more known vulnerabilities. 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
CVE-2024-45399 Affected Indico Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
indico
|
PyPI |
< 3.3.4
|
3.3.4
|
References
Frequently Asked Questions
What is CVE-2024-45399?
Which Indico versions are affected?
What version fixes CVE-2024-45399?
Is indico affected?
What is the CVSS score of CVE-2024-45399?
What CWE is associated with CVE-2024-45399?
How can I check PyPI dependencies for CVE-2024-45399?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-rrqf-w74j-24ff",
"modified" : "2024-09-25T17:55:29Z",
"published" : "2024-09-04T17:19:14Z",
"aliases" : [ "CVE-2024-45399" ],
"summary" : "Indico has a Cross-Site-Scripting during account creation",
"details" : "### Impact\nThere is a Cross-Site-Scripting vulnerability during account creation when redirecting after the account has been successfully created.\nExploitation requires the user to initiate the account creation process with a maliciously crafted link, and then finalize the signup process. Because of this, it can only target newly created (and thus unprivileged) Indico users so the benefits of exploiting it are very limited.\n\n### Patches\nYou should to update to [Indico 3.3.4](https://github.com/indico/indico/releases/tag/v3.3.4) as soon as possible.\nSee [the docs](https://docs.getindico.io/en/stable/installation/upgrade/) for instructions on how to update.\n\n### Workarounds\n- If you build the Indico package yourself and cannot upgrade for some reason, you can simply update the `flask-multipass` dependency to `>=0.5.5` which fixes the vulnerability. You would do that by editing `requirements.txt` before building the package (see commit 7dcb573837), or possibly cherry-picking that particular commit.\n- Otherwise you could configure your web server to disallow requests containing a query string with a parameter that starts with `javascript:`\n\n### For more information\nIf you have any questions or comments about this advisory:\n\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)",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}, {
"type" : "CVSS_V4",
"score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "indico"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.3.4"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/indico/indico/security/advisories/GHSA-rrqf-w74j-24ff"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-45399"
}, {
"type" : "WEB",
"url" : "https://github.com/indico/flask-multipass/commit/0bdcf656d469e5f675cb56fd644d82fea3a97c2a"
}, {
"type" : "WEB",
"url" : "https://github.com/indico/indico/commit/7dcb573837b9fd09d95f74d1baeae225b164cc8f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/indico/indico"
}, {
"type" : "WEB",
"url" : "https://github.com/indico/indico/releases/tag/v3.3.4"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/indico/PYSEC-2024-90.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-1395", "CWE-79" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-09-04T17:19:14Z",
"nvd_published_at" : "2024-09-04T20:15:09Z"
}
}