{"id":"UBUNTU-CVE-2024-6844","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.","modified":"2026-02-04T03:57:23.749258Z","published":"2025-03-20T10:15:00Z","related":["USN-7612-1"],"upstream":["CVE-2024-6844"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-6844"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-6844"},{"type":"REPORT","url":"https://huntr.com/bounties/731a6cd4-d05f-4fe6-8f5b-fe088d7b34e0"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7612-1"}],"affected":[{"package":{"name":"python-flask-cors","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/python-flask-cors@3.0.8-2ubuntu0.1+esm1?arch=source&distro=esm-apps/focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.8-2ubuntu0.1+esm1"}]}],"versions":["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"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6844.json"}},{"package":{"name":"python-flask-cors","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/python-flask-cors@3.0.9-2ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.0.9-2ubuntu0.1"}]}],"versions":["3.0.9-2"],"ecosystem_specific":{"binaries":[{"binary_version":"3.0.9-2ubuntu0.1","binary_name":"python3-flask-cors"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6844.json"}},{"package":{"name":"python-flask-cors","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/python-flask-cors@4.0.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.0.0-1ubuntu0.1~esm1"}]}],"versions":["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"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6844.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}