A delete session for one object reveals the rest of a private container
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- go
- Área
- distributed-systems, security
Línea de trabajo
Start by tracing how the node validates owner-signed session tokens for header and search requests, using the reproduction steps to compare those checks with payload downloads and deletes. The issue names no source files or tests, so locate the request handlers and authorization tests for these operations. Done means the token permits deleting only its named object and does not allow reading another object's header or listing container objects.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
The owner granted permission to delete a single object. That same token lets the recipient list every object in the container and read the header of any of them. On a private container those reads are otherwise forbidden.
Expected Behavior
The token authorizes deletion of the one object it names. Header reads and searches of any other object are denied.
Current Behavior
With that token, a header request for a different object succeeds, and a search returns every object in the container. Downloading another object's payload is still denied. Deleting another object does not complete: the node answers that the session token was not found. The standard command-line client refuses to send a header or search request with a delete token, so this shows up only when a client attaches the token the owner signed and sends it unchanged.
Steps to Reproduce (for bugs)
- Create a private container and store two objects in it.
- As the owner, issue a session for another account. Limit it to the first object and to the delete operation, and sign it with the owner key.
- From the other account, without the token, request the header of the second object. The request is denied.
- Repeat that header request with the token attached as issued. The header is returned.
- Search the container with the same token. Both objects are listed.
- Lenguaje dominante
- Go
- Estrellas
- 37
- Forks
- 56
- Merge medio
- 1 d 21 h
- PR fusionados (30 d)
- 46
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nspcc-dev/neofs-node
-
bug hal:proposed neofs-storage
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
nspcc-dev/neofs-node#4325 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Check alpha scope in IRAbiertohal:proposed I4 neofs-storage S3 security U4
Dificultad 2/5 1-3 horas Aptitud para principiantes 69/100
nspcc-dev/neofs-node#4280 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
nspcc-dev/neofs-node#4339 ·
Los mantenedores suelen responder en 1 día
-
enhancement I3 neofs-storage performance S3 U3
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
nspcc-dev/neofs-node#4337 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
bug neofs-storage
Dificultad 4/5 3-5 días Aptitud para principiantes 45/100
nspcc-dev/neofs-node#4336 ·
Los mantenedores suelen responder en 1 día
Todos los issues de nspcc-dev/neofs-node
Issues similares
-
Add iterate GmbH domains to a dedicated list and include it in company and developer categoriesAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
v2fly/domain-list-community#4307 ·
Los mantenedores suelen responder en 1 día
-
notify: voice_queue rows are deleted only at startup, so a hub that stays up grows it without boundAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
mattabate/life-distributable#232 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
projectdiscovery/cdncheck#554 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
openbao/openbao-plugins#170 ·
Los mantenedores suelen responder en 1 día