Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

S3 PutObject ignores Content-MD5 integrity checks

Aperta
#1,561 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@ferhatelmas ci sta già lavorando.

Dal 20/10/2026.

  • #1564 di @hsusul — aperta

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
70/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
postgresql, typescript
Ambito
api, backend, databases

Direzione di ricerca

Trace the regular S3 PutObject route schema and upload handler to find where headers are filtered and payload bytes are received. Add regression coverage for a valid base64 MD5 and a same-length payload with a mismatch; verify the mismatch returns an S3-compatible client error and leaves no visible object.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

The regular S3 PutObject route drops the Content-MD5 header and the upload handler does not validate the received bytes against it. Because the route schema removes unknown headers, S3 clients can send a checksum that Storage silently ignores and a same-length corrupted payload can be accepted.

Expected behavior

Accept Content-MD5 on S3 PutObject, compare it with the MD5 of the received payload, and reject mismatches with an S3-compatible client error before publishing the object.

Regression coverage

A valid base64 MD5 must allow the upload. A same-length payload with a mismatched MD5 must fail and leave no visible object.

Evidence

AWS documents Content-MD5 as a payload integrity check for PutObject: https://docs.aws.amazon.com/AmazonS3/latest/API/API_PutObject.html

Lingua principale
TypeScript
Stelle
1.3k
Fork
314
Merge medio
2g 1h
PR unite (30g)
97

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di supabase/storage

Tutte le issue di supabase/storage

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.