RATATOSK
← 전체 릴리스

Daprv1.17.18

보안 5

Dapr 알림 받기

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

보안5high1

Kubernetes 오퍼레이터의 리소스 스코프 검사 수정

high
영향 대상릴리스 노트에 언급 없음
추가 조치신뢰할 수 없는 워크로드가 네임스페이스를 공유할 때, 스코프가 지정된 HTTPEndpoint, MCPServer 또는 Configuration 리소스가 참조하는 Kubernetes 시크릿 로테이션

Kubernetes 네임스페이스의 Dapr 사용 설정 Pod는 해당 네임스페이스의 앱 ID에 대한 워크로드 아이덴티티로 오퍼레이터에 직접 접근해 다른 앱의 스코프 적용 리소스를 읽을 수 있었습니다. 여기에는 Kubernetes 시크릿에 저장된 값도 포함됩니다. 이제 오퍼레이터는 시크릿을 해석하기 전에 스코프를 검사하고, 스코프 밖의 resiliency 리소스는 찾을 수 없음으로 반환합니다. 또한 GetConfiguration은 호출 Pod의 dapr.io/config 어노테이션에 지정된 구성으로 제한됩니다. 인젝터를 사용하지 않고 --config를 지정하는 daprd는 enabled, 앱 ID, config 어노테이션과 앱 ID 레이블이 지정되어 있고 daprd 컨테이너를 포함한 Pod에서 실행해야 합니다.

원문 보기
보안 공지
In Kubernetes mode, the Dapr operator returned HTTPEndpoint and MCPServer resources to every Dapr-enabled pod in the namespace, with their Kubernetes secret references resolved to plaintext, regardless of the resources' `scopes`. `GetConfiguration` returned any Configuration in the namespace by name, with secret OpenTelemetry headers resolved. `ListResiliency`, `GetResiliency`, `ListSubscriptions` and `ListWorkflowAccessPolicy` also ignored `scopes`, although they carry no secrets.
Any workload that can obtain a Dapr workload identity for an app ID in a namespace, which includes every Dapr-enabled pod in that namespace, could call the operator directly and read:
Only values stored in the Kubernetes secret store (the default) were disclosed, because the operator resolves only those. Resources in other namespaces were not exposed. Sidecars already ignored resources not scoped to their app ID, so applications behaved correctly; the problem was what the operator sent to them.
If untrusted workloads share a namespace with scoped HTTPEndpoint, MCPServer or Configuration resources, rotate the Kubernetes secrets those resources reference.
The operator now skips resources whose `scopes` do not include the calling app ID before resolving any secret, and `GetResiliency` reports them as not found. `GetConfiguration` only serves the configuration named in the `dapr.io/config` annotation of one of the calling app's pods.
A daprd run in Kubernetes mode without the injector, with `--config`, must now be in a pod with the `dapr.io/enabled: "true"`, `dapr.io/app-id` and `dapr.io/config` annotations and the `dapr.io/app-id` label, and its container must be named `daprd`.
github.com/dapr/dapr/security/advisories/GHSA-99h8-29cw-6j59
보안 공지
Users running Dapr on Kubernetes are encouraged to upgrade to `1.19.0`, `1.18.9` or `1.17.18`.
github.com/dapr/dapr/security/advisories/GHSA-99h8-29cw-6j59

Kubernetes GetConfiguration 접근을 호출 앱으로 제한

영향 대상Kubernetes 모드에서 GetConfiguration을 호출하는 클라이언트와 injector 없이 --config로 실행하는 daprd 프로세스

이전에는 앱에 할당되지 않은 configuration도 이름으로 요청하면 반환될 수 있었으며, 이때 OpenTelemetry 헤더의 secret 참조가 평문으로 확인될 수 있었습니다. 이제 앱 pod 중 하나의 dapr.io/config 어노테이션에 해당 configuration이 지정되지 않으면 요청이 PermissionDenied를 반환합니다. injector 없이 --config로 실행하는 daprd의 경우 pod에 dapr.io/enabled: "true", dapr.io/app-id, dapr.io/config 어노테이션과 dapr.io/app-id 레이블이 있어야 하며, 컨테이너 이름은 daprd여야 합니다. 그렇지 않으면 시작에 실패합니다.

원문 보기
`GetConfiguration` returned any Configuration in the namespace by name, with secret references in its OpenTelemetry headers resolved, whichever configuration the calling app was assigned.
It could also read secret OpenTelemetry headers of Configurations assigned to other apps.
`GetConfiguration` trusted the configuration name sent by the sidecar.
`GetConfiguration` only returns the configuration named in the `dapr.io/config` annotation of one of the calling app's pods, and returns `PermissionDenied` otherwise. The operator reads the app's pods from the Kubernetes API, selected by the `dapr.io/app-id` label.
A daprd you run in Kubernetes mode without the injector, with `--config`, must be in a pod with the `dapr.io/enabled: "true"`, `dapr.io/app-id` and `dapr.io/config` annotations and the `dapr.io/app-id` label, and its container must be named `daprd` so the injector does not add a second one.
Otherwise the operator refuses the configuration and daprd fails to start.
github.com/dapr/dapr/releases/tag/v1.17.18

오퍼레이터 API 리소스 스코프 필터링 수정

영향 대상Kubernetes 모드의 Dapr

이전에는 ListResiliency, GetResiliency, ListSubscriptions가 리소스의 scopes에서 호출한 앱 ID를 제외하더라도 해당 리소스 정의를 반환했습니다. 이제 이러한 리소스는 건너뛰며, GetResiliency는 해당 리소스를 찾을 수 없음으로 응답합니다.

원문 보기
`ListResiliency`, `GetResiliency` and `ListSubscriptions` also ignored `scopes`. These APIs do not resolve or return secrets, so only the resource definitions were exposed.
These operator APIs checked that the caller's identity was in the requested namespace, but did not compare the caller's app ID with each resource's `scopes`, as `ListComponents` and the resource update streams already did.
The operator now skips resources whose `scopes` do not include the calling app ID before it resolves any secret, and `GetResiliency` reports them as not found.
github.com/dapr/dapr/releases/tag/v1.17.18

Kubernetes HTTPEndpoint 시크릿 노출 수정

영향 대상다른 앱에 범위가 지정된 HTTPEndpoint 리소스가 있는 Kubernetes 네임스페이스의 Dapr

이전에는 ListHTTPEndpoints가 호출자 네임스페이스의 모든 HTTPEndpoint 리소스를 반환하고, 다른 앱의 Kubernetes 시크릿 참조를 평문으로 확인했습니다. 이로 인해 인증 토큰이나 TLS 자료 같은 자격 증명이 노출될 수 있었습니다. 이제 오퍼레이터는 시크릿을 확인하기 전에 호출 앱 ID에 범위가 지정되지 않은 리소스를 걸러냅니다.

원문 보기
In Kubernetes mode, the operator's `ListHTTPEndpoints` API returned every HTTPEndpoint in the caller's namespace, including those scoped to other apps, with their Kubernetes secret references resolved to plaintext values.
Any workload able to get a Dapr workload identity for an app ID in a namespace, which includes every Dapr-enabled pod, could call the operator directly and read the credentials of HTTPEndpoint resources scoped to other apps in that namespace.
This covers header values such as `Authorization` tokens, and client TLS certificates, private keys and root CAs.
Only values from the Kubernetes secret store (the default) were disclosed, because the operator resolves only those. Other namespaces were not exposed.
Sidecars already ignored resources not scoped to their app ID, so applications behaved correctly; the problem was what the operator sent.
github.com/dapr/dapr/releases/tag/v1.17.18

Kubernetes에서 앱에 할당된 구성으로 제한된 GetConfiguration

영향 대상GetConfiguration을 사용하는 Kubernetes 배포

이전에는 오퍼레이터가 사이드카가 전달한 이름을 신뢰해 다른 앱의 구성도 반환할 수 있었습니다. 여기에는 OpenTelemetry 헤더에 포함된 해석된 시크릿 참조도 포함됩니다. 이제 호출한 앱 Pod의 dapr.io/config 어노테이션에 지정된 구성만 반환하며, 다른 구성에 대한 요청은 PermissionDenied로 거부합니다.

원문 보기
`GetConfiguration` returned any Configuration in the namespace by name, with secret references in its OpenTelemetry headers resolved, whichever configuration the calling app was assigned.
It could also read secret OpenTelemetry headers of Configurations assigned to other apps.
`GetConfiguration` trusted the configuration name sent by the sidecar.
### Solution
`GetConfiguration` only returns the configuration named in the `dapr.io/config` annotation of one of the calling app's pods, and returns `PermissionDenied` otherwise. The operator reads the app's pods from the Kubernetes API, selected by the `dapr.io/app-id` label.
github.com/dapr/dapr/releases/tag/v1.17.18

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