CVE-2024-27447: Pretix Pretix Mishandles File Validation Vulnerability
MODERATECVE-2024-27447 is a MODERATE pretix mishandles file validation vulnerability (General Security Weakness) affecting Pretix libraries in the PyPI ecosystem. The issue involves pretix mishandles file validation. Remediation is available by upgrading affected packages to version 2024.1.1.
CVE-2024-27447 at a Glance
How to Fix CVE-2024-27447
To remediate this vulnerability, upgrade all affected Pretix 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 pretix>=2024.1.1
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pretix
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-27447, inspect your installed packages using pip:
pip show pretix
Analyze the terminal output to locate any version of Pretix in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2024.1.1), your application is affected.
Note: The pip show pretix command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under General Security Weakness. In Pretix, 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-27447 Affected Pretix Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pretix
|
PyPI |
< 2024.1.1
|
2024.1.1
|
References
Frequently Asked Questions
What is CVE-2024-27447?
Which Pretix versions are affected?
What version fixes CVE-2024-27447?
Is pretix affected?
What CWE is associated with CVE-2024-27447?
How can I check PyPI dependencies for CVE-2024-27447?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-672r-97r7-vx2q",
"modified" : "2025-06-11T18:43:37Z",
"published" : "2024-02-26T18:30:31Z",
"aliases" : [ "CVE-2024-27447" ],
"summary" : "pretix mishandles file validation",
"details" : "pretix before 2024.1.1 mishandles file validation.",
"severity" : [ ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pretix"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "2024.1.1"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-27447"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/pretix/pretix"
}, {
"type" : "WEB",
"url" : "https://github.com/pretix/pretix/compare/v2023.10.2...v2024.1.1"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pretix/PYSEC-2024-253.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-02-26T22:14:44Z",
"nvd_published_at" : "2024-02-26T16:28:00Z"
}
}