Skip to content

fix security issue with okhttp (1.48.x backport) #11829

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

Closed
wants to merge 1 commit into from

Conversation

ejona86
Copy link
Member

@ejona86 ejona86 commented Jan 15, 2025

Implement fix to address a security issue related to maliciously crafted hostnames during certificate validation in OkHttp

grpc-java is susceptible to CVE-2021-0341

This mirrors the okhttp patch for this exploit available in square/okhttp#6353

Backport of #11749

* Validate that hostname is ascii in OkHostnameVerifier.java
@ejona86 ejona86 requested a review from larry-safran January 15, 2025 21:59
@ejona86 ejona86 closed this Jan 15, 2025
@ejona86
Copy link
Member Author

ejona86 commented Jan 15, 2025

I did this just to verify that 48 and 68 are not the same thing...

@ejona86 ejona86 deleted the backport-okhttp-host-1.48 branch January 15, 2025 22:00
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants