Advisory

DEBIAN-CVE-2024-6844

Also known as: CVE-2024-6844

Summary

The record has no summary.

Details

A vulnerability in corydolphin/flask-cors version 4.0.1 allows for inconsistent CORS matching due to the handling of the '+' character in URL paths. The request.path is passed through the unquote_plus function, which converts the '+' character to a space ' '. This behavior leads to incorrect path normalization, causing potential mismatches in CORS configuration. As a result, endpoints may not be matched correctly to their CORS settings, leading to unexpected CORS policy application. This can cause unauthorized cross-origin access or block valid requests, creating security vulnerabilities and usability issues.

Severity

Medium Basis: CVSS v3 score 5.3, vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Dates

Published
2025-03-20 10:15 UTC
Modified
2026-11-02 12:03 UTC

Affected packages and fixes

python-flask-cors

Debian packages (deb) · Debian 12

Affected

  • introduced 0, fixed 3.0.10-2+deb12u1 (ecosystem)

Fixed versions

3.0.10-2+deb12u1

Fix

  • Fixed version 3.0.10-2+deb12u1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-flask-cors

Debian packages (deb) · Debian 13

Affected

  • introduced 0, fixed 6.0.0-1 (ecosystem)

Fixed versions

6.0.0-1

Fix

  • Fixed version 6.0.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

python-flask-cors

Debian packages (deb) · Debian 14

Affected

  • introduced 0, fixed 6.0.0-1 (ecosystem)

Fixed versions

6.0.0-1

Fix

  • Fixed version 6.0.0-1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Debian Security Tracker (converted by OSV.dev)

Debian Security Tracker, converted to OSV by OSV.dev.

Sources & licences