Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVE-2017-10789: mysql_ssl=1 does not enforce encryption #140

Closed
pali opened this issue Jul 1, 2017 · 2 comments
Closed

CVE-2017-10789: mysql_ssl=1 does not enforce encryption #140

pali opened this issue Jul 1, 2017 · 2 comments

Comments

@pali
Copy link
Member

pali commented Jul 1, 2017

DBD::mysql connects to MySQL server without SSL encryption even when mysql_ssl=1 is set together with mysql_ssl_ca_file certificate. Test case:

$ perl -MData::Dumper -MDBI -e 'my $dbh = DBI->connect("dbi:mysql:mysql;host=127.0.0.1", "root", "password", { mysql_ssl => 1, mysql_ssl_ca_file => "ca.pem" }); print Dumper $dbh->selectall_arrayref("SELECT 1");'

Related to #110

@pali
Copy link
Member Author

pali commented Jul 1, 2017

@dveeden
Copy link
Collaborator

dveeden commented Sep 15, 2018

This has been fixed in 4.044

@dveeden dveeden closed this as completed Sep 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants