{"schemaVersion":3,"id":"CVE-2024-6839","aliases":["GHSA-7rxf-gvfg-47g4","PYSEC-2026-1384","UBUNTU-CVE-2024-6839","DEBIAN-CVE-2024-6839","CGA-3w6h-4c68-84gw","CGA-h5cp-x4cr-xm6g","CGA-m295-863w-jph5","CGA-qmr3-jwx7-9w2w","CGA-w8cm-8rw7-g2gx","CGA-x2p6-wpr9-ch43"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2025-03-20T10:09:42.595Z","modified":"2025-11-03T19:34:39.531Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.0","versionLabel":"v3.0","source":"CVE.org","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Pypi","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Ubuntu","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":10,"impact":2.3,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Wolfi","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.0","versionLabel":"v3.0","source":"OSV · Chainguard","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":7.2,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.0","versionLabel":"v3.0","source":"NVD","score":4.3,"severity":"medium","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0074,"percentile":0.53842,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0.014000000000000037,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00726},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00713,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0074,"percentile":0.53842}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00726,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0074,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.0074,"percentile":0.53842}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_231C14A03EBAAA06","name":"Exploit Reference (huntr.com)","source":"reference","url":"https://huntr.com/bounties/403eb1fc-86f4-4820-8eba-0f3dfae9f2b4","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-41","name":"Improper Resolution of Path Equivalence","description":"The product is vulnerable to file system contents disclosure through path equivalence. Path equivalence involves the use of special characters in file and directory names. The associated manipulations are intended to generate multiple names for the same object.","type":"weakness","status":"Incomplete","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/41.html"}],"affected":[{"vendor":"chainguard","product":"kubeflow-jupyter-web-app","name":"kubeflow-jupyter-web-app","label":"kubeflow-jupyter-web-app","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubeflow-jupyter-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r3","eol":null,"hubHref":null},{"vendor":"chainguard","product":"kubeflow-volumes-web-app","name":"kubeflow-volumes-web-app","label":"kubeflow-volumes-web-app","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/kubeflow-volumes-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r2","eol":null,"hubHref":null},{"vendor":"chainguard","product":"superset-6.0","name":"superset-6.0","label":"superset-6.0","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/superset-6.0","purlType":"apk","versions":[{"text":"< 6.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubeflow-jupyter-web-app","name":"kubeflow-jupyter-web-app","label":"kubeflow-jupyter-web-app","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubeflow-jupyter-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r3","eol":null,"hubHref":null},{"vendor":"wolfi","product":"kubeflow-volumes-web-app","name":"kubeflow-volumes-web-app","label":"kubeflow-volumes-web-app","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/kubeflow-volumes-web-app","purlType":"apk","versions":[{"text":"< 1.10.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.10.0-r2","eol":null,"hubHref":null},{"vendor":"wolfi","product":"superset-6.0","name":"superset-6.0","label":"superset-6.0","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/superset-6.0","purlType":"apk","versions":[{"text":"< 6.0.0-r2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0-r2","eol":null,"hubHref":null},{"vendor":"corydolphin","product":"corydolphin/flask-cors","name":"corydolphin/flask-cors","label":"corydolphin/flask-cors","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ unspecified, ≤ latest","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ unspecified, ≤ latest","eol":null,"hubHref":"/vendor/corydolphin/corydolphinflask-cors"},{"vendor":"debian","product":"python-flask-cors","name":"python-flask-cors","label":"python-flask-cors","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/python-flask-cors","purlType":"deb","versions":[{"text":"< 3.0.10-2+deb12u1","noFixRecorded":false,"fixedIn":null},{"text":"< 6.0.1-1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.10-2+deb12u1 | < 6.0.1-1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"python-flask-cors","name":"python-flask-cors","label":"python-flask-cors","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/python-flask-cors","purlType":"deb","versions":[{"text":"< 3.0.8-2ubuntu0.1+esm1","noFixRecorded":false,"fixedIn":null},{"text":"< 3.0.9-2ubuntu0.1","noFixRecorded":false,"fixedIn":null},{"text":"< 4.0.0-1ubuntu0.1~esm1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.0.8-2ubuntu0.1+esm1 | < 3.0.9-2ubuntu0.1 | < 4.0.0-1ubuntu0.1~esm1","eol":null,"hubHref":null},{"vendor":"flask-cors_project","product":"flask-cors","name":"flask-cors","label":"flask-cors","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.0.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.0.1","eol":null,"hubHref":"/vendor/flask-cors_project/flask-cors"},{"vendor":"PyPI","product":"flask-cors","name":"flask-cors","label":"flask-cors","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/flask-cors","purlType":"pypi","versions":[{"text":"< 6.0.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 6.0.0","eol":null,"hubHref":null}],"affectedCount":11,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://huntr.com/bounties/403eb1fc-86f4-4820-8eba-0f3dfae9f2b4","label":"huntr.com/bounties/403eb1fc-86f4-4820-8eba-0f3dfae9f2b4","hostname":"huntr.com","tags":["WEB","REPORT","Exploit","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/05/msg00049.html","label":"lists.debian.org/debian-lts-announce/2025/05/msg00049.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-6839","label":"nvd.nist.gov/vuln/detail/CVE-2024-6839","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/corydolphin/flask-cors/commit/e970988bea563e05e8b8f53fa7bcc134b5bf5c5f","label":"github.com/corydolphin/flask-cors/commit/e970988bea563e05e8b8f53fa7bcc134b5bf5c5f","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/corydolphin/flask-cors","label":"github.com/corydolphin/flask-cors","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/corydolphin/flask-cors/blob/4.0.1/flask_cors/core.py#L73","label":"github.com/corydolphin/flask-cors/blob/4.0.1/flask_cors/core.py","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/flask-cors","label":"pypi.org/project/flask-cors","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-7rxf-gvfg-47g4","label":"github.com/advisories/GHSA-7rxf-gvfg-47g4","hostname":"github.com","tags":["Advisory"]},{"url":"https://ubuntu.com/security/CVE-2024-6839","label":"ubuntu.com/security/CVE-2024-6839","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2024-6839","label":"www.cve.org/CVERecord?id=CVE-2024-6839","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://ubuntu.com/security/notices/USN-7612-1","label":"ubuntu.com/security/notices/USN-7612-1","hostname":"ubuntu.com","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2024-6839","label":"security-tracker.debian.org/tracker/CVE-2024-6839","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6839.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/6xxx/CVE-2024-6839.json","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["DLA-4197-1","MGASA-2025-0286","OPENSUSE-SU-2026:10485-1","USN-7612-1"],"duplicates":[],"related":["CGA-4626-HHH4-9HPF","CGA-RCF5-3QPM-CV2G","CGA-X5JQ-G4GR-QXFG","OPENSUSE-SU-2026:10485-1","USN-7612-1"]},"timeline":[{"kind":"published","date":"2025-03-20T10:09:42.595Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:34:39.531Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T04:20:19.933Z","stale":false,"partial":false}}