{"id":"UBUNTU-CVE-2024-6221","details":"A vulnerability in corydolphin/flask-cors version 4.0.1 allows the `Access-Control-Allow-Private-Network` CORS header to be set to true by default. This behavior can expose private network resources to unauthorized external access, leading to significant security risks such as data breaches, unauthorized access to sensitive information, and potential network intrusions.","modified":"2026-02-04T02:57:09.588784Z","published":"2024-08-18T19:15:00Z","related":["USN-7612-1"],"upstream":["CVE-2024-6221"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-6221"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-6221"},{"type":"REPORT","url":"https://huntr.com/bounties/a42935fc-6f57-4818-bca4-3d528235df4d"},{"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":{"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-6221.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_name":"python3-flask-cors","binary_version":"3.0.9-2ubuntu0.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-6221.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":{"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-6221.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}