{"id":"CVE-2024-6221","state":"PUBLISHED","title":"Improper Access Control in corydolphin/flask-cors","description":"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.","publishedAt":"2024-08-18T18:58:20.551Z","updatedAt":"2025-04-07T15:03:37.262Z","severity":{"score":6.5,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","source":"@huntr_ai"},"assigner":"@huntr_ai","products":["corydolphin corydolphin/flask-cors"],"affected":[{"vendor":"corydolphin","product":"corydolphin/flask-cors","versions":[{"version":"unspecified","status":"affected","lessThan":"5.0.0","versionType":"custom"}]}],"references":["https://huntr.com/bounties/a42935fc-6f57-4818-bca4-3d528235df4d","https://github.com/corydolphin/flask-cors/commit/03aa3f8e2256437f7bad96422a747b98ab5e31bf"],"weaknesses":["CWE-284"],"ingestedAt":"2026-10-29T20:08:12.933Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/6xxx/CVE-2024-6221.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-6221","state":"PUBLISHED","datePublished":"2024-08-18T18:58:20.551Z","dateUpdated":"2025-04-07T15:03:37.262Z","assignerShortName":"@huntr_ai","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2024-06-20T18:32:12.417Z"},"containers":{"cna":{"title":"Improper Access Control in corydolphin/flask-cors","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"corydolphin","product":"corydolphin/flask-cors","versions":[{"version":"unspecified","status":"affected","lessThan":"5.0.0","versionType":"custom"}]}],"references":[{"url":"https://huntr.com/bounties/a42935fc-6f57-4818-bca4-3d528235df4d"},{"url":"https://github.com/corydolphin/flask-cors/commit/03aa3f8e2256437f7bad96422a747b98ab5e31bf"}],"metrics":[{"cvssV3_0":{"version":"3.0","attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N","baseScore":6.5,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-284","type":"CWE","lang":"en","description":"CWE-284 Improper Access Control"}]}],"providerMetadata":{"shortName":"@huntr_ai","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2025-04-07T15:03:37.262Z"},"source":{"advisory":"a42935fc-6f57-4818-bca4-3d528235df4d","discovery":"EXTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"corydolphin","product":"flask-cors","defaultStatus":"unknown","versions":[{"version":"4.0.1","status":"affected","lessThan":"*","versionType":"custom"}],"cpes":["cpe:2.3:a:corydolphin:flask-cors:4.0.1:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-08-19T13:46:09.049560Z","id":"CVE-2024-6221","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-08-19T13:48:13.411Z"}}]}}}