Dependency advisories at the declared floor versions of python-engineio / python-socketio (with a verified fix)

Đang mở Phù hợp với người mới
#8,026 1 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ó
1/5
Thời gian dự kiến
Dưới một giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
build-system, security

Hướng nghiên cứu

Đọc các giới hạn phiên bản phụ thuộc trong pyproject.toml và so sánh chúng với các phiên bản đã được xác minh là đã sửa được liệt kê trong issue. Cập nhật phiên bản tối thiểu của python-engineio và python-socketio, sau đó xác nhận rằng không cần thay đổi tệp khóa. Hoàn tất khi các phiên bản tối thiểu được khai báo lần lượt đạt ít nhất 4.13.2 và 5.16.2.

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

Mô tả

Hi Reflex team — thank you for the wonderful framework. While doing a security review of the dependencies for my own use, I noticed a small gap between the floor versions declared in pyproject.toml and the versions your uv.lock already resolves to, and I wanted to share it in case it helps.

What the check flagged

At the declared floor minima, OSV reports 8 advisories:

  • python-engineio 4.12.0 — 4 advisories, all fixed in 4.13.2: GHSA-cgwc-pv48-fhj5, GHSA-m9gh-vj53-gvh9, PYSEC-2026-3032, PYSEC-2026-3033
  • python-socketio 5.12.0 — 4 advisories, fixed in 5.14.0 (2) and 5.16.2 (2): GHSA-5w7q-77mv-v69f, GHSA-g8c6-8fjj-2r4m, PYSEC-2026-1854, PYSEC-2026-3042

What I checked

Your uv.lock already resolves past both of these — python-engineio 4.14.0 and python-socketio 5.17.0 — and a fresh OSV query at those locked versions shows 0 advisories. So anyone installing with the lock is already fine; the gap is only for a fresh install that resolves from the declared minima.

The fix I verified

After a couple of attempts I confirmed the fix by re-querying OSV at the exact fixed versions:

  • python-engineio >= 4.13.2 — 0 advisories at 4.13.2
  • python-socketio >= 5.16.2 — 0 advisories at 5.16.2

So bumping the two floor bounds in pyproject.toml from >=4.12.0 to >=4.13.2 and from >=5.12.0 to >=5.16.2 closes the gap, and the lockfile needs no change. It is only a suggestion — if it seems right to you, it is my pleasure. Thank you again for Reflex.

Ngôn ngữ chính
Python
Star
29k
Fork
1.8k
Merge trung bình
3 ngày 5 giờ
Pull request đã merge (30 ngày)
182

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

Mở trong Codespaces

Khởi chạy dev container của dự án ngay trên trình duyệt, bằng tài khoản GitHub của bạn.

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 reflex-dev/reflex

Tất cả issue của reflex-dev/reflex

Issue tương tự

Thêm issue về Python

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.