Skip to content

fix security issue with okhttp (1.68.x backport) - #11831

Merged
ejona86 merged 1 commit into
grpc:v1.68.xfrom
ejona86:backport-okhttp-host-1.68
Jan 15, 2025
Merged

fix security issue with okhttp (1.68.x backport)#11831
ejona86 merged 1 commit into
grpc:v1.68.xfrom
ejona86:backport-okhttp-host-1.68

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 22:02
@ejona86
ejona86 merged commit eb14478 into grpc:v1.68.x Jan 15, 2025
@ejona86
ejona86 deleted the backport-okhttp-host-1.68 branch January 15, 2025 22:55
@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.

3 participants