UBUNTU-CVE-2024-6844

Source
https://ubuntu.com/security/CVE-2024-6844
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6844.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-6844
Upstream
Downstream
Related
Published
2025-03-20T10:15:00Z
Modified
2026-11-24T14:54:46Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (Source: CNA) CVSS Calculator
  • Ubuntu - medium (Source: SELF)
Summary
[none]
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.

References

Affected packages

Ubuntu:Pro:20.04:LTS / python-flask-cors

Package

Name
python-flask-cors
Purl
pkg:deb/ubuntu/python-flask-cors?arch=source&distro=esm-apps%2Ffocal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.8-2ubuntu0.1+esm1

Affected versions

3.*
3.0.8-2
3.0.8-2ubuntu0.1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python3-flask-cors",
            "binary_version":  "3.0.8-2ubuntu0.1+esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6844.json"

Ubuntu:22.04:LTS / python-flask-cors

Package

Name
python-flask-cors
Purl
pkg:deb/ubuntu/python-flask-cors?arch=source&distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
3.0.9-2ubuntu0.1

Affected versions

3.*
3.0.9-2

Ecosystem specific

{
    "availability":  "No subscription required",
    "binaries":  [
        {
            "binary_name":  "python3-flask-cors",
            "binary_version":  "3.0.9-2ubuntu0.1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6844.json"

Ubuntu:Pro:24.04:LTS / python-flask-cors

Package

Name
python-flask-cors
Purl
pkg:deb/ubuntu/python-flask-cors?arch=source&distro=esm-apps%2Fnoble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
4.0.0-1ubuntu0.1~esm1

Affected versions

4.*
4.0.0-1

Ecosystem specific

{
    "availability":  "Available with Ubuntu Pro: https://ubuntu.com/pro",
    "binaries":  [
        {
            "binary_name":  "python3-flask-cors",
            "binary_version":  "4.0.0-1ubuntu0.1~esm1"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6844.json"