RATATOSK
← 전체 릴리스

gRPCv1.86.0

보안 5호환성 변경 1중요 수정 3기능·개선 3의존성 갱신 1기타 7

gRPC 알림 받기

확인할 변경이 있을 때만 주 1회, critical 보안 공지는 즉시 발송

보안5high1보안 여부 불분명1

Channelz v2 QueryTrace 서비스 거부 결함 수정

high
영향 대상릴리스 노트에 언급 없음

신뢰할 수 없는 호출자가 grpc.channelz.v2.Channelz로 RPC를 보낼 수 있으면 서버 프로세스를 중단시키거나 작업 스레드를 차단할 수 있었습니다. 이제 QueryTrace가 인수를 검증하며, 호출자가 RPC를 취소하면 서버 리소스가 해제됩니다.

원문 보기
보안 공지
Your server is affected only if both of these are true:
- Your gRPC C++ server activates Channelz with `grpc::channelz::experimental::InitChannelzService()`.
- An untrusted caller can send RPCs to the Channelz v2 service (`grpc.channelz.v2.Channelz`).
gRPC C++ did not correctly check the arguments and the state of the `QueryTrace` RPC. A remote caller can send `QueryTrace` requests that stop the server process or keep server worker threads blocked. This causes a denial of service (DoS).
The fix checks the `QueryTrace` arguments and releases server resources when the caller cancels the RPC.
- Do not call `grpc::channelz::experimental::InitChannelzService()` in production servers.
- Block access to `grpc.channelz.v2.Channelz` from untrusted callers. Use authentication, an authorization policy, or a network rule.
github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj
보안 공지
A denial of service (DoS) vulnerability was found and fixed in the gRPC C++ Channelz v2 service.
github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj

xDS 리소스의 authority 채널 확인

영향 대상xDS 클라이언트 구성

xDS 리소스가 해당 authority용으로 구성되지 않은 채널에 도착하면 처리하지 않고 무시합니다.

원문 보기
-  [XdsClient] check that resources are received from the right servers. ([#43695](https://github.com/grpc/grpc/pull/43695))
github.com/grpc/grpc/releases/tag/v1.86.0

gRPC 저장소 루트 인증서 번들을 Chromium 루트 인증서로 업데이트

영향 대상gRPC 저장소 루트 번들을 사용한 인증서 검증(추정)
원문 보기
-  [Security] Update repo roots to chromium roots. ([#43890](https://github.com/grpc/grpc/pull/43890))
github.com/grpc/grpc/releases/tag/v1.86.0

c-ares DNS-over-TCP 쓰기에서 발생하는 SIGPIPE 프로세스 종료 수정

보안 여부 불분명
영향 대상POSIX 플랫폼에서 MSG_NOSIGNAL 또는 SO_NOSIGPIPE를 사용하는 c-ares DNS-over-TCP, 시스템 c-ares 1.34.7 이상을 링크하는 빌드 포함

DNS 서버가 TCP 연결을 이미 닫았거나 리셋한 경우 c-ares의 쓰기 작업에서 SIGPIPE가 발생해 프로세스가 종료될 수 있었습니다. 이제 c-ares는 EPIPE를 연결 오류로 처리하고 쿼리를 재시도하거나, 프로세스를 종료하지 않고 쿼리를 실패 처리합니다.

원문 보기
-  [EventEngine] Avoid SIGPIPE on c-ares writes to closed TCP sockets. ([#43802](https://github.com/grpc/grpc/pull/43802))
github.com/grpc/grpc/releases/tag/v1.86.0

gRPC 저장소 루트 인증서 번들 업데이트

영향 대상gRPC 저장소의 루트 인증서 번들로 인증서 체인을 검증하는 설정(추정)

업데이트된 번들에는 emSign Root CA - G1이 계속 포함됩니다.

원문 보기
-  [security] Update gRPC repo roots. ([#43699](https://github.com/grpc/grpc/pull/43699))
github.com/grpc/grpc/releases/tag/v1.86.0

호환성 변경1

빈 Metadata를 반환하는 InterceptedCall 메타데이터 메서드

영향 대상InterceptedCall.initial_metadata() 또는 InterceptedCall.trailing_metadata()를 사용하는 Python AIO 호출

이전에는 호출이 취소되거나 메타데이터가 없는 AioRpcError가 발생하면 이 메서드들이 None을 반환할 수 있었습니다. 이제는 그런 경우 빈 Metadata()를 반환하며, 사용할 수 있는 메타데이터는 계속 반환합니다.

근거“Make `InterceptedCall` method `trailing_metadata` and `initial_metadata` return `Metadata` instead of `Optional[Metadata]`.” grpc/grpc/pull/42743 ↗
원문 보기
-  [Python] AIO Part 5 - Type Hints fixes and add Pyright for all aio files. ([#42743](https://github.com/grpc/grpc/pull/42743))
github.com/grpc/grpc/releases/tag/v1.86.0

중요 수정3

  • Python AIO non-OK 호출 표현 순서 수정
    영향 대상Python AIO 호출 문자열 및 표현 출력(추정)

    ABORTED 호출의 경우 표현에 StatusCode.ABORTED가 상태로 표시되고, 해당 details 텍스트도 함께 표시됩니다.

    -  [Python] Fix the ordering of status and details in _NON_OK_CALL_REPRESENTATION. ([#43869](https://github.com/grpc/grpc/pull/43869))
    github.com/grpc/grpc/releases/tag/v1.86.0
  • 동기식 Python Channel 종료 교착 상태 수정
    영향 대상동기 API를 통한 Python Channel 종료

    이전에는 gRPC 백그라운드 스레드가 콜 크리덴셜 플러그인 같은 Python 콜백을 실행하는 동안 채널을 닫으면 Python 프로세스가 멈출 수 있었습니다. 이제 컴플리션 큐와 채널의 소멸, gRPC 종료가 GIL을 잡지 않은 상태에서 실행됩니다.

    -  [Python] Fix GIL deadlocks: Release GIL during grpc_channel_destroy/grpc_shutdown in Channel close. ([#43962](https://github.com/grpc/grpc/pull/43962))
    github.com/grpc/grpc/releases/tag/v1.86.0
  • Python 크리덴셜 팩토리 크래시 수정
    영향 대상Python 크리덴셜 팩토리 grpc.xds_server_credentials()와 ComputeEngineChannelCredentials

    grpc.xds_server_credentials()에 None이나 비어 있는 폴백 크리덴셜 래퍼를 전달하거나, ComputeEngineChannelCredentials에 None인 호출 크리덴셜을 전달하면 네이티브 코드까지 도달해 인터프리터가 크래시하거나 프로세스가 중단될 수 있었습니다. 이제 이런 입력에는 ValueError가 발생합니다.

    -  [Python]  Raise ValueError instead of crashing when credential factories receive None. ([#43592](https://github.com/grpc/grpc/pull/43592))
    github.com/grpc/grpc/releases/tag/v1.86.0

기능·개선3

  • non-xDS 트랜스포트용 공개 TransportFactory API
    -  [API] Channel factory for Sidechannel communication for non-xds cases. ([#43603](https://github.com/grpc/grpc/pull/43603))
    github.com/grpc/grpc/releases/tag/v1.86.0
  • grpcio_status에 버전 속성 추가
    -  [Python] Added Python API to retrieve library version of grpcio-status. ([#39037](https://github.com/grpc/grpc/pull/39037))
    github.com/grpc/grpc/releases/tag/v1.86.0
  • grpc.aio export에 ChannelArgumentType 추가
    -   [Python] AIO Part 6 - Type Hints fixes and add Pyright for all aio files #42738. ([#43608](https://github.com/grpc/grpc/pull/43608))
    github.com/grpc/grpc/releases/tag/v1.86.0

의존성 갱신1

    그 외 1건 · 보안 언급 없음
    • - [Core] Upgrade cares to 1.34.9. ([#43958](https://github.com/grpc/grpc/pull/43958))
    기타7
    • map_host_header_to_authority 실험 기본 활성화
      -  [chttp2] enable map_host_header_to_authority experiment. ([#43799](https://github.com/grpc/grpc/pull/43799))
      github.com/grpc/grpc/releases/tag/v1.86.0
    • setuptools 84용 Windows ARM64 컴파일러 처리 수정
      -  [Python] Fix ARM64 Windows compiler patching with setuptools 84. ([#43785](https://github.com/grpc/grpc/pull/43785))
      github.com/grpc/grpc/releases/tag/v1.86.0
    • grpcio-tools와 grpcio-observability의 설치 요구 사항에서 setuptools 제거
      -  [Python] grpcio-tools , grpcio-observability: drop setuptools from install_requires. ([#43601](https://github.com/grpc/grpc/pull/43601))
      github.com/grpc/grpc/releases/tag/v1.86.0
    • grpc_tools.protoc 및 grpc_tools.command의 importlib.resources 사용
      -  [Python] grpcio-tools , grpcio-observability: drop setuptools from install_requires. ([#43601](https://github.com/grpc/grpc/pull/43601))
      github.com/grpc/grpc/releases/tag/v1.86.0
    • Python AIO 타입 힌트 수정
      -   [Python] AIO Part 6 - Type Hints fixes and add Pyright for all aio files #42738. ([#43608](https://github.com/grpc/grpc/pull/43608))
      github.com/grpc/grpc/releases/tag/v1.86.0
    • 이제 AIO 디렉터리의 모든 파일을 대상으로 하는 Pyright 설정
      -   [Python] AIO Part 6 - Type Hints fixes and add Pyright for all aio files #42738. ([#43608](https://github.com/grpc/grpc/pull/43608))
      github.com/grpc/grpc/releases/tag/v1.86.0
    • _done_writing_flag 타입 검사 추가
      -   [Python] AIO Part 6 - Type Hints fixes and add Pyright for all aio files #42738. ([#43608](https://github.com/grpc/grpc/pull/43608))
      github.com/grpc/grpc/releases/tag/v1.86.0

    정리 내용은 AI가 작성하므로 틀릴 수 있으며, 보증 없이 제공합니다.