network-egress.md describes actor certificate checks the egress gateway doesn't make
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 74/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- go
- Lĩnh vực
- documentation, security
Hướng nghiên cứu
Đọc docs/guides/network-egress.md cùng với cmd/atenet/internal/router/egress/egress.go, tập trung vào verifyActorCertificate và validateActor. Kiểm tra quyết định trong #3347 và hạn chế được theo dõi trong #2208. Cập nhật hướng dẫn để mô tả các bước kiểm tra mà luồng Envoy hiện thực hiện và liên kết đến hạn chế về việc tái sử dụng tên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
The "Client Authorization" section of docs/guides/network-egress.md describes checks the egress gateway doesn't make. It says the PEP MUST:
- require exactly one valid
ActorIdentityextension with atespace, actor name, actor UID, and purpose - require the purpose to be
atunnel, and the URI SAN to match the extension - confirm with ate-api-server that the actor's current UID matches the certificate
The Envoy path in cmd/atenet/internal/router/egress/egress.go does none of these:
verifyActorCertificatechecks validity, the chain, client auth usage, and non-CA, then takes the actor from the single URI SAN. It doesn't read the extension.validateActorcallsGetActorby atespace and name, and checks only forRUNNINGorRESUMING. It doesn't compare UIDs.
So a certificate from a deleted actor passes these checks for a new actor with the same name until it expires. Using it needs the private key held in atunnel.
#3347 was closed with a decision to document that correctness isn't guaranteed when names are reused. #2208 tracks putting the UID in the SPIFFE ID.
The guide should describe the current checks and link to that limitation. I can send a docs PR if that's the right fix.
I found this with an AI agent and checked it against main at 94e0a26a. I read the Envoy path only and didn't test it on a cluster.
- Ngôn ngữ chính
- Go
- Star
- 6.1k
- Fork
- 676
- Merge trung bình
- 2 ngày
- Pull request đã merge (30 ngày)
- 456
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của agent-substrate/substrate
-
Clean up the ko retry testsCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mởarea/dev-infra area/reliability area/tests kind/cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
agent-substrate/substrate#3461 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
egress: drop the empty-provider check in providerCredentialCó thể đã có người làm @cloudonly đã nhận 9 ngày trước. Đang mởarea/network kind/cleanup
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
agent-substrate/substrate#3428 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
kubectl-ate create actor-template -f <file> fails with useless errorCó thể đã có người làm @cloudonly đã nhận 10 ngày trước. Đang mởarea/cli kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
agent-substrate/substrate#3406 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
k8s-credential-provider manifest is missing ate-otel-config envFrom, failing OTLP metric exports to [::1]:4317 / 127.0.0.1:4317 every 60sCó thể đã có người làm @ericcurtin đã nhận 11 ngày trước. Đang mởarea/dev-infra area/observability area/security kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
agent-substrate/substrate#3282 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
filecachegc.runPass suppresses eviction logs when FreedBytes < target and consecutiveShortfalls > 3Có thể đã có người làm @ericcurtin đã nhận 10 ngày trước. Đang mởarea/node area/observability area/storage kind/bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
agent-substrate/substrate#3281 ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của agent-substrate/substrate
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
nebari-dev/nebi#652 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
govulncheck reports 7 reachable vulnerabilities in dependenciesCó thể đã có người làm @dwisiswant0 đã nhận hôm nay. Đang mởType: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
projectdiscovery/rawhttp#558 ·
-
govulncheck reports vulnerable golang.org/x/net and goldmark in called codeCó thể đã có người làm @dwisiswant0 đã nhận hôm nay. Đang mởType: Bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
projectdiscovery/cdncheck#549 ·
Maintainer thường phản hồi trong vòng 6 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Type: Bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
projectdiscovery/pdtm#467 ·