Skip to content

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

Closed
ejona86 wants to merge 1 commit into
grpc:v1.48.xfrom
ejona86:backport-okhttp-host-1.48
Closed

fix security issue with okhttp (1.48.x backport)#11829
ejona86 wants to merge 1 commit into
grpc:v1.48.xfrom
ejona86:backport-okhttp-host-1.48

Conversation

@ejona86

@ejona86 ejona86 commented Jan 15, 2025

Copy link
Copy Markdown
Member

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 lysine-dev/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

ejona86 commented Jan 15, 2025

Copy link
Copy Markdown
Member Author

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