Bootstrap: prevent rollback to older allowlisted releases

Aperta
#93 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

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
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
linux, shell
Ambito
release, security

Direzione di ricerca

Read scripts/bootstrap.sh, especially trusted_release_digest() and the v0.6.3 legacy requirements block. Trace how the latest release version and digest are checked, then decide how the allowlist should prevent older approved archives from being installed. Done means a rollback to an older allowlisted release is refused while the current reviewed release remains installable.

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

Descrizione

future consideration packaging

Summary

scripts/bootstrap.sh trusted_release_digest() keeps digests for older releases (currently v0.6.3 and v0.6.4). Anyone able to control the GitHub "latest release" API response could serve an older but still-allowlisted archive (rollback/downgrade), reintroducing issues fixed in later releases.

Proposal

  • Once a newer release digest is reviewed and pinned, remove superseded digests from the allowlist (and the v0.6.3 legacy requirements block, as already noted in the code).
  • Alternatively, keep a minimum-allowed version and refuse anything older.

Notes

Low severity: exploiting this requires a compromised GitHub API response, and only previously reviewed archives can be served.

Lingua principale
Shell
Stelle
0
Fork
0
Merge medio
16m
PR unite (30g)
40

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 graygarbage/HermesKey

Tutte le issue di graygarbage/HermesKey

Issue simili

Altre issue su Shell/Bash

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.