Composer reports advisory for flysystem

Aperta
#41,877 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
php
Ambito
security

Direzione di ricerca

Start with composer.json and the linked Dependabot report and Flysystem advisories; confirm which Flysystem version is resolved and whether the reported vulnerabilities apply to ownCloud Classic. Then identify an appropriate action for the affected dependency and verify the Composer security-audit result is addressed.

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

Descrizione

composer is reporting a new vulnerability in https://github.com/thephpleague/flysystem

https://github.com/advisories/GHSA-cxf4-7mrp-vvpr

https://github.com/owncloud/core/security/dependabot/101

Check the report and see if it is applicable to ownCloud Classic, and take appropriate action.
Note: the advisory is fixed in major version 3, core still references major version 1.

$ composer update
[bamarni-bin] The setting "extra.bamarni-bin.forward-command" will be set to "true" from 2.x onwards. If you wish to keep it to "false", you need to set it explicitly.
Loading composer repositories with package information
Updating dependencies                                 
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires league/flysystem ^1.1, found league/flysystem[1.1.0, ..., 1.1.10] but these were not loaded, because they are affected by security advisories ("PKSA-w9tt-7782-78jx", "PKSA-pwh8-d4fr-nywn"). Go to https://packagist.org/security-advisories/ to find advisory details. To ignore the advisories, add them to the audit "ignore" config. To turn the feature off entirely, you can set "block-insecure" to false in your "audit" config.

The 2nd one reported is actually fixed in the flysystem version that we are using. Not sure why composer referenced that.
https://github.com/thephpleague/flysystem/security/advisories/GHSA-9f46-5r25-5wfm

Lingua principale
PHP
Stelle
8.8k
Fork
2.1k
Merge medio
19h 32m
PR unite (30g)
56

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 owncloud/core

Tutte le issue di owncloud/core

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.