CVE-2024-27447: Pretix Pretix Mishandles File Validation Vulnerability

MODERATE
Advisory Identifier: GHSA-672r-97r7-vx2q
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-27447
GHSA Identifier GHSA-672r-97r7-vx2q
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Pretix
Package Ecosystem PyPI
Published Date
Last Updated

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.

pretix fixed: 2024.1.1
pip install pretix>=2024.1.1
Verify Direct and Transitive Dependencies

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

pretix before 2024.1.1 mishandles file validation.

CVE-2024-27447 Affected Pretix Versions

1 component(s)
Fixed Versions:
2024.1.1
Product / Package Ecosystem Affected Versions Fixed Version
pretix
PyPI
< 2024.1.1
2024.1.1

References

Frequently Asked Questions

What is CVE-2024-27447?
CVE-2024-27447 is a security vulnerability in Pretix involving pretix mishandles file validation under General Security Weakness.
Which Pretix versions are affected?
Affected versions include releases prior to 2024.1.1 across affected packages: pretix.
What version fixes CVE-2024-27447?
Upgrading to 2024.1.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pretix affected?
Yes, pretix is affected in releases prior to 2024.1.1. Upgrade your dependency to 2024.1.1 or later.
What CWE is associated with CVE-2024-27447?
CVE-2024-27447 is classified under General Security Weakness.
How can I check PyPI dependencies for CVE-2024-27447?
Run the dependency tree command: 'pip show pretix'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}