Composer reports advisory for flysystem

Abierto
#41,877 0 comentarios 0 reacciones 0 asignados Ver en GitHub

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
Bastante claro
Estado de actividad
Activo
Stack tecnológico
php
Área
security

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
PHP
Estrellas
8.8k
Forks
2.1k
Merge medio
19 h 32 min
PR fusionados (30 d)
56

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de owncloud/core

Todos los issues de owncloud/core

Issues similares

Más issues de PHP

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.