-
Notifications
You must be signed in to change notification settings - Fork 9.8k
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
Add protection code to prevent etcd from panic when the client api version is not valid UTF-8 string #13560
Conversation
This fixes OSS-fuzz issue 42947 |
@AdamKorcz Could you please provide a link to the issue 42947? |
|
Thanks. I got a response of "Access Denied". It seems that only the etcd maintainers have the access. |
0902569
to
02debc4
Compare
Just rebased the PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you.
I think we had better adding explict test-cases for such found violations.
Thanks for the comment. Just raised a separate ticket issues/13592 to add the case. |
…rsion is not valid UTF-8
02debc4
to
f8aafea
Compare
Just rebased this PR and added an item to CHANGELOG-3.6 |
Fix issues/13553.
If applications use clientv3, then this issue will never happen.
But If the client application sends data with invalid client-api-version directly to etcdserver via tcp connection, then the etcd server may be panic. Accordingly there is a security concern that the malicious program may take down the etcd server. So the PR is to fix the security concern.