{"id":"CVE-2025-5279","aliases":["CVE-2025-5279","GHSA-r244-wg5g-6w2r","PYSEC-2026-1867"],"related":[],"kind":"vulnerability","state":"published","title":"Issue with Amazon Redshift Python Connector and the BrowserAzureOAuth2CredentialsProvider plugin","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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:** >=2.0.872;<=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","format":"markdown","source":"ghsa"},{"lang":"es","text":"Cuando el conector Python de Amazon Redshift se configura con el complemento BrowserAzureOAuth2CredentialsProvider, el controlador omite el paso de validación del certificado SSL para el proveedor de identidad. Una conexión insegura podría permitir que un actor intercepte el proceso de intercambio de tokens y recupere un token de acceso. Este problema se ha solucionado en la versión 2.1.7 del controlador. Los usuarios deben actualizar para solucionar este problema y asegurarse de que cualquier código bifurcado o derivado esté parcheado para incorporar las nuevas correcciones.","source":"nvd"}],"published":"2025-05-27T20:17:21.228Z","modified":"2026-09-10T03:50:24.760Z","severity":{"scorer":"AMZN","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},"severities":[{"scorer":"AMZN","scheme":"CVSS:4.0","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","score":7,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5,"rating":"HIGH"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","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"}],"cwes":["CWE-295"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.872","fixed":"2.1.7","status":"affected"}],"vendor":"Amazon","product":"Redshift","package":"amazon-redshift-python-driver","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.0.872","status":"affected","fixed":"2.1.7"}],"ecosystem":"PyPI","package":"redshift-connector","purl":"pkg:pypi/redshift-connector","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.0.872","status":"affected","fixed":"2.1.7"}],"ecosystem":"PyPI","package":"redshift-connector","purl":"pkg:pypi/redshift-connector","source":"pysec"}],"references":[{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-011/","tags":["vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/releases/tag/v2.1.7","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/aws/amazon-redshift-python-driver/security/advisories/GHSA-r244-wg5g-6w2r","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5279","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://aws.amazon.com/security/security-bulletins","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://aws.amazon.com/security/security-bulletins/AWS-2025-011","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/aws/amazon-redshift-python-driver","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/redshift-connector","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-r244-wg5g-6w2r","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"AMZN","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-05-27T20:26:15.202Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-5279","url":"https://www.cve.org/CVERecord?id=CVE-2025-5279","licence":"CVE Terms of Use","modified":"2025-10-14T18:13:08.938Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-r244-wg5g-6w2r","url":"https://github.com/advisories/GHSA-r244-wg5g-6w2r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:24.760Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-5279","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5279","licence":"Public domain","modified":"2026-06-17T09:47:36.230Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1867","url":"https://osv.dev/vulnerability/PYSEC-2026-1867","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:19.202Z"}],"updatedAt":"2026-11-25T22:58:58.523Z","epss":{"score":0.00316,"percentile":0.26468,"date":"2026-12-01T12:00:22.000Z"}}