Compose: any service on the default network can create containers through the docker-socket-proxy
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 55/100
Direzione di ricerca
Read docker-compose.yml and the compose test that pins the socket proxy settings; update the network access, explicit image defaults, and related compose comment. Check docs/ISSUES.md I-171 and coordinate the EVENTS=1 requirement with K-4 (#12). Done when the test covers EVENTS, PING, and VERSION, and I-171 is updated; rebuilding the stack and checking process runs, image scans, and API isolation are lead-only steps.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Queue: K (#2) · found during K-3's review (#11) · docs/ISSUES.md I-171
In docker-compose.yml the docker-socket-proxy sits on the default network with CONTAINERS=1, IMAGES=1 and POST=1. It is meant for the pipeline only, but database, api, auth-proxy, keycloak, minio, titiler, tipg, cube-server and the init jobs can all reach it, so a compromised service there can create and start containers on the Docker host (and read other containers' environments through GET /containers/{id}/json). This predates K-3, which only added the read-only INFO=1. Process-run containers are not affected: they are on the separate process-runs network.
This is the local compose stack, not the Kubernetes deployment (which has no socket proxy).
Task
- Put the proxy on its own network shared only with the pipeline, and take it off the default network.
- Pin the image's implicit defaults explicitly (
EVENTS,PING,VERSIONare on by default in tecnativa's image) and extend the compose test that pins the proxy's settings to cover them. Coordinate with K-4 (#12), whose watcher needsEVENTS=1. - Update I-171 and the compose comment.
Lead-only steps
Rebuild the stack and confirm a process run and an image scan still work, and that curl docker-socket-proxy:2375/containers/json from the api container no longer connects.
- Lingua principale
- Python
- Stelle
- 0
- Fork
- 2
- Merge medio
- 8h 26m
- PR unite (30g)
- 47
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di TechTraverse/stac-higher
-
ci
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
TechTraverse/stac-higher#261 ·
I maintainer di solito rispondono entro 1 giorno
-
ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
TechTraverse/stac-higher#258 ·
I maintainer di solito rispondono entro 1 giorno
-
Error messages hide the server's reason: users see only '400 Bad Request'Forse già presa @aman-code-io l’ha presa 3 giorni fa. Apertabug good first issue ready
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
TechTraverse/stac-higher#232 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
TechTraverse/stac-higher#225 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
TechTraverse/stac-higher#216 ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di TechTraverse/stac-higher
Issue simili
-
docs(contributing): the two things that silently block a PRForse già presa Una pull request collegata a questa issue è aperta o già unita. Apertaavailable documentation good first issue
Difficoltà 1/5 1-3 ore Idoneità per principianti 95/100
Nixitov/Riptide-Native#944 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
JTHCode/secretguard#24 ·
I maintainer di solito rispondono entro 1 giorno
-
area: middleware documentation good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
enhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 95/100
omarelshamy25x/shamy-hijri#63 ·
I maintainer di solito rispondono entro 1 giorno