Bump PHP-JWT version

Aperta
#1,276 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
20/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
php
Ambito
security

Direzione di ricerca

The issue says the dependency update will happen in #1274 and describes HS256 use as mitigating the advisory on 5.9.x. Start by reading #1274 and the plugin's PHP-JWT usage to understand the planned dependency and PHP requirement changes. This issue gives no specific implementation or completion criteria of its own.

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

Descrizione

The current version of PHP-JWT has a security advisory against it. Updating PHP-JWT to protect against the reported vulnerability is not possible without simultaneously bumping the PHP requirement for the PressForward plugin. We'll do this in #1274.

In the meantime, an analysis of the plugin's use of PHP-JWT suggests that we use HS256 encoding to generate keys, not RSA. This enforces a strength that's high enough to avoid the specific vulnerability reported in the advisor. So I don't see a practical risk in ignoring the advisory on builds on the 5.9.x series.

Lingua principale
PHP
Stelle
127
Fork
23
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 PressForward/pressforward

Tutte le issue di PressForward/pressforward

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.