CVE-2025-65795: Grpc Gateway Httpbody Usage

Serving internal files or custom HTTP bodies via `*httpbody.HttpBody` in gRPC handlers can lead to authentication bypass or deserialization vulnerabilities when exposed through gRPC-Gateway. Refactor the endpoint to serve binary file downloads or specific HTTP streams using standard dedicated HTTP handlers (e.g., `http.HandlerFunc`) rather than processing th

Provally CuratedPublic repositoryMediumMedium confidenceVerifiedApache-2.0Go
greprules fetch cve-2025-65795-grpc-gateway-httpbody-usage --engine opengrep

Description

Serving internal files or custom HTTP bodies via `*httpbody.HttpBody` in gRPC handlers can lead to authentication bypass or deserialization vulnerabilities when exposed through gRPC-Gateway. Refactor the endpoint to serve binary file downloads or specific HTTP streams using standard dedicated HTTP handlers (e.g., `http.HandlerFunc`) rather than processing th