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

未关闭 适合新手
#8,026 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1 小时以内
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
python

调研方向

阅读 pyproject.toml 中的依赖版本范围,并将其与 issue 中列出的已验证修复版本进行比较。更新 python-engineio 和 python-socketio 的最低版本限制,然后确认无需更改锁文件。声明的最低版本分别达到 4.13.2 和 5.16.2 或更高时,即为完成。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
29k
派生
1.8k
平均合并
3 天 5 小时
30 天内合并 PR
182

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

reflex-dev/reflex 的其他 Issue

查看 reflex-dev/reflex 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。