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

fix security issue with okhttp #11749

Merged
merged 2 commits into from
Dec 16, 2024
Merged

Conversation

ZachChuba
Copy link
Contributor

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

Copy link
Member

@ejona86 ejona86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@ejona86 ejona86 requested a review from larry-safran December 16, 2024 17:01
@ejona86 ejona86 added the TODO:backport PR needs to be backported. Removed after backport complete label Dec 16, 2024
@ejona86 ejona86 added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Dec 16, 2024
@grpc-kokoro grpc-kokoro removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Dec 16, 2024
@larry-safran larry-safran added the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Dec 16, 2024
@larry-safran larry-safran merged commit a0982ca into grpc:master Dec 16, 2024
16 checks passed
ejona86 pushed a commit to ejona86/grpc-java that referenced this pull request Jan 15, 2025
* Validate that hostname is ascii in OkHostnameVerifier.java
ejona86 pushed a commit to ejona86/grpc-java that referenced this pull request Jan 15, 2025
* Validate that hostname is ascii in OkHostnameVerifier.java
ejona86 pushed a commit to ejona86/grpc-java that referenced this pull request Jan 15, 2025
* Validate that hostname is ascii in OkHostnameVerifier.java
ejona86 pushed a commit to ejona86/grpc-java that referenced this pull request Jan 15, 2025
* Validate that hostname is ascii in OkHostnameVerifier.java
@ejona86 ejona86 removed the kokoro:run Add this label to a PR to tell Kokoro the code is safe and tests can be run label Jan 15, 2025
ejona86 pushed a commit that referenced this pull request Jan 15, 2025
* Validate that hostname is ascii in OkHostnameVerifier.java
ejona86 pushed a commit that referenced this pull request Jan 16, 2025
* Validate that hostname is ascii in OkHostnameVerifier.java
@ejona86 ejona86 removed the TODO:backport PR needs to be backported. Removed after backport complete label Jan 16, 2025
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

Successfully merging this pull request may close these issues.

4 participants