Composer reports advisory for flysystem

Đang mở
#41,877 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
php
Lĩnh vực
security

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
PHP
Star
8.8k
Fork
2.1k
Merge trung bình
19 giờ 32 phút
Pull request đã merge (30 ngày)
56

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của owncloud/core

Tất cả issue của owncloud/core

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.