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.test.osv.dev/v1/vulns/UBUNTU-CVE-2024-6844
Upstream
Downstream
Related
Published
2025-03-20T10:15:00Z
Modified
2025-07-16T07:58:59.505839Z
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 CVSS Calculator
  • Ubuntu - medium
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@3.0.8-2ubuntu0.1+esm1?arch=source&distro=esm-apps/focal

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown 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

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

Ubuntu:22.04:LTS / python-flask-cors

Package

Name
python-flask-cors
Purl
pkg:deb/ubuntu/python-flask-cors@3.0.9-2ubuntu0.1?arch=source&distro=jammy

Affected ranges

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

Affected versions

3.*

3.0.9-2

Ecosystem specific

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

Ubuntu:24.04:LTS / python-flask-cors

Package

Name
python-flask-cors
Purl
pkg:deb/ubuntu/python-flask-cors@4.0.0-1?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

4.*

4.0.0-1

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

Package

Name
python-flask-cors
Purl
pkg:deb/ubuntu/python-flask-cors@4.0.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble

Affected ranges

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

Affected versions

4.*

4.0.0-1

Ecosystem specific

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

Ubuntu:25.04 / python-flask-cors

Package

Name
python-flask-cors
Purl
pkg:deb/ubuntu/python-flask-cors@5.0.0-1ubuntu0.1?arch=source&distro=plucky

Affected ranges

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

Affected versions

4.*

4.0.1-1

5.*

5.0.0-1

Ecosystem specific

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