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
Related
Published
2025-03-20T10:15:00Z
Modified
2025-04-23T15:18:11Z
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:20.04:LTS / python-flask-cors

Package

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

Affected ranges

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

Affected versions

3.*

3.0.8-2
3.0.8-2ubuntu0.1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:22.04:LTS / python-flask-cors

Package

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

Affected ranges

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

Affected versions

3.*

3.0.9-2

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:24.10 / python-flask-cors

Package

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

Affected ranges

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

Affected versions

4.*

4.0.0-1
4.0.1-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

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

Ecosystem specific

{
    "ubuntu_priority": "medium"
}

Ubuntu:25.04 / python-flask-cors

Package

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

Affected ranges

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

Affected versions

4.*

4.0.1-1

5.*

5.0.0-1

Ecosystem specific

{
    "ubuntu_priority": "medium"
}