UBUNTU-CVE-2024-6839

Source
https://ubuntu.com/security/CVE-2024-6839
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6839.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2024-6839
Related
Published
2025-03-20T10:15:00Z
Modified
2025-04-23T15:14:39Z
Summary
[none]
Details

corydolphin/flask-cors version 4.0.1 contains an improper regex path matching vulnerability. The plugin prioritizes longer regex patterns over more specific ones when matching paths, which can lead to less restrictive CORS policies being applied to sensitive endpoints. This mismatch in regex pattern priority allows unauthorized cross-origin access to sensitive data or functionality, potentially exposing confidential information and increasing the risk of unauthorized actions by malicious actors.

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"
}