{"id":"CVE-2025-5279","aliases":["EUVD-2025-28464","GHSA-r244-wg5g-6w2r","PYSEC-2026-1867","ROOT-APP-PYPI-CVE-2025-5279"],"status":"published","title":"Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin","description":"When the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. An insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\nThis issue has been addressed in driver version 2.1.7. Users should upgrade to address this issue and ensure any forked or derivative code is patched to incorporate the new fixes.","severity":{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00311,"percentile":0.24245,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2025-05-27T20:17:21Z","modified":"2026-10-28T02:30:53Z","fixes":[{"ecosystem":"PyPI","package":"redshift-connector","fixed_in":["2.1.7"],"sources":["ghsa","osv"]},{"ecosystem":"Root:PyPI","package":"rootio-redshift-connector","fixed_in":["2.0.908+root.io.1","2.1.6+root.io.1","2.1.3+root.io.1","2.1.6+root.io.2","2.1.3+root.io.2","2.0.908+root.io.2"],"sources":["osv"]},{"ecosystem":"Root:PyPI","package":"redshift-connector","fixed_in":["2.0.908+aikido.2","2.1.3+aikido.2","2.1.6+aikido.2"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"redshift-connector","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.872"},{"last_affected":"2.1.6"},{"fixed":"2.1.7"}]}]},{"source":"osv","ecosystem":"PyPI","package":"redshift-connector","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.872"},{"fixed":"2.1.7"}]}],"versions":["2.0.872","2.0.873","2.0.874","2.0.875","2.0.876","2.0.877","2.0.878","2.0.879","2.0.880","2.0.881","2.0.882","2.0.883","2.0.884","2.0.885","2.0.886","2.0.887","2.0.888","2.0.889","2.0.900","2.0.901","2.0.902","2.0.903","2.0.904","2.0.905","2.0.906","2.0.907","2.0.908","2.0.909","2.0.910","2.0.911","2.0.912","2.0.913","2.0.914","2.0.915","2.0.916","2.0.917","2.0.918","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6"]},{"source":"osv","ecosystem":"PyPI","package":"redshift-connector","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.0.872"},{"fixed":"2.1.7"}]}],"versions":["2.0.872","2.0.873","2.0.874","2.0.875","2.0.876","2.0.877","2.0.878","2.0.879","2.0.880","2.0.881","2.0.882","2.0.883","2.0.884","2.0.885","2.0.886","2.0.887","2.0.888","2.0.889","2.0.900","2.0.901","2.0.902","2.0.903","2.0.904","2.0.905","2.0.906","2.0.907","2.0.908","2.0.909","2.0.910","2.0.911","2.0.912","2.0.913","2.0.914","2.0.915","2.0.916","2.0.917","2.0.918","2.1.0","2.1.1","2.1.2","2.1.3","2.1.4","2.1.5","2.1.6"]},{"source":"osv","ecosystem":"Root:PyPI","package":"rootio-redshift-connector","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.908+root.io.1"},{"fixed":"2.1.6+root.io.1"},{"fixed":"2.1.3+root.io.1"},{"fixed":"2.1.6+root.io.2"},{"fixed":"2.1.3+root.io.2"},{"fixed":"2.0.908+root.io.2"}]}]},{"source":"osv","ecosystem":"Root:PyPI","package":"redshift-connector","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.0.908+aikido.2"},{"fixed":"2.1.3+aikido.2"},{"fixed":"2.1.6+aikido.2"}]}]}],"products":[{"vendor":"amazon","product":"redshift"}],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-011/","tags":["vendor-advisory","advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.7","tags":["patch","fix","web"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-r244-wg5g-6w2r","tags":["vendor-advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5279","tags":["advisory"]},{"url":"https://aws.amazon.com/security/security-bulletins","tags":["web"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-011","tags":["web"]},{"url":"https://github.com/advisories/GHSA-r244-wg5g-6w2r","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/5xxx/CVE-2025-5279.json","tags":["advisory"]},{"url":"https://github.com/aws/amazon-redshift-python-driver","tags":["package"]},{"url":"https://pypi.org/project/redshift-connector","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2025-5279","title":"Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin","description":"When the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. An insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\nThis issue has been addressed in driver version 2.1.7. Users should upgrade to address this issue and ensure any forked or derivative code is patched to incorporate the new fixes.","status":"published","published":"2025-05-27T20:17:21.228Z","modified":"2025-10-14T18:13:08.938Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:32:29.97618Z"}],"euvd":[{"id":"EUVD-2025-28464","description":"When the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. An insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\nThis issue has been addressed in driver version 2.1.7. Users should upgrade to address this issue and ensure any forked or derivative code is patched to incorporate the new fixes.","status":"published","published":"2025-05-27T20:17:21Z","modified":"2025-10-14T18:13:08Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","level":"high"}],"updated_at":"2026-11-02T20:31:33.01309Z"}],"ghsa":[{"id":"GHSA-r244-wg5g-6w2r","title":"Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin","description":"### Summary\n[Amazon Redshift Python Connector](https://docs.aws.amazon.com/redshift/latest/mgmt/python-redshift-driver.html) is a pure Python connector to Redshift (i.e., driver) that implements the [Python Database API Specification 2.0](https://www.python.org/dev/peps/pep-0249/).\n\nWhen the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. \n\n### Impact\n\nAn insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\n**Impacted versions:** \u003e=2.0.872;\u003c=2.1.6\n\n### Patches\n\nUpgrade Amazon Redshift Python Connector to version 2.1.7 and ensure any forked or derivative code is patched to incorporate the new fixes.\n\n### Workarounds\n\nNone\n\n### References\n\nIf you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n[1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting","status":"published","published":"2025-05-28T14:57:31Z","modified":"2025-10-14T21:59:22Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","level":"high"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:39:00.807341Z"}],"nvd":[{"id":"CVE-2025-5279","description":"When the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. An insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\nThis issue has been addressed in driver version 2.1.7. Users should upgrade to address this issue and ensure any forked or derivative code is patched to incorporate the new fixes.","status":"published","published":"2025-05-27T21:15:23.37Z","modified":"2026-06-17T09:47:36.23Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:11:09.562272Z"}],"osv":[{"id":"CVE-2025-5279","title":"Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin","description":"When the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. An insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\nThis issue has been addressed in driver version 2.1.7. Users should upgrade to address this issue and ensure any forked or derivative code is patched to incorporate the new fixes.","status":"published","published":"2025-05-27T20:17:21.228Z","modified":"2026-10-28T02:30:53.865864424Z","cvss":[{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:44:50.45326Z"},{"id":"GHSA-r244-wg5g-6w2r","title":"Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin","description":"### Summary\n[Amazon Redshift Python Connector](https://docs.aws.amazon.com/redshift/latest/mgmt/python-redshift-driver.html) is a pure Python connector to Redshift (i.e., driver) that implements the [Python Database API Specification 2.0](https://www.python.org/dev/peps/pep-0249/).\n\nWhen the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. \n\n### Impact\n\nAn insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\n**Impacted versions:** \u003e=2.0.872;\u003c=2.1.6\n\n### Patches\n\nUpgrade Amazon Redshift Python Connector to version 2.1.7 and ensure any forked or derivative code is patched to incorporate the new fixes.\n\n### Workarounds\n\nNone\n\n### References\n\nIf you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n[1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting","status":"published","published":"2025-05-28T14:57:31Z","modified":"2026-09-10T03:50:24.760378818Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","level":"high"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T15:46:55.122811Z"},{"id":"PYSEC-2026-1867","title":"Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin","description":"### Summary\n[Amazon Redshift Python Connector](https://docs.aws.amazon.com/redshift/latest/mgmt/python-redshift-driver.html) is a pure Python connector to Redshift (i.e., driver) that implements the [Python Database API Specification 2.0](https://www.python.org/dev/peps/pep-0249/).\n\nWhen the Amazon Redshift Python Connector is configured with the BrowserAzureOAuth2CredentialsProvider plugin, the driver skips the SSL certificate validation step for the Identity Provider. \n\n### Impact\n\nAn insecure connection could allow an actor to intercept the token exchange process and retrieve an access token.\n\n**Impacted versions:** \u003e=2.0.872;\u003c=2.1.6\n\n### Patches\n\nUpgrade Amazon Redshift Python Connector to version 2.1.7 and ensure any forked or derivative code is patched to incorporate the new fixes.\n\n### Workarounds\n\nNone\n\n### References\n\nIf you have any questions or comments about this advisory we ask that you contact AWS/Amazon Security via our vulnerability reporting page [1] or directly via email to [aws-security@amazon.com](mailto:aws-security@amazon.com). Please do not create a public GitHub issue.\n\n[1] Vulnerability reporting page: https://aws.amazon.com/security/vulnerability-reporting","status":"published","published":"2026-07-07T16:02:53.225304Z","modified":"2026-07-07T17:47:19.202159396Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"},{"version":"4.0","score":7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","level":"high"}],"updated_at":"2026-11-02T15:52:55.06457Z"},{"id":"ROOT-APP-PYPI-CVE-2025-5279","title":"CVE-2025-5279 in rootio-redshift-connector - Patched by Root","description":"Root has patched CVE-2025-5279 in the rootio-redshift-connector package for Root:PyPI. Multiple fixed versions available.","status":"published","published":"2026-06-03T18:56:45Z","modified":"2026-06-04T02:00:17.047403159Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","level":"high"}],"updated_at":"2026-11-02T15:53:27.940619Z"}]}}
