[Security] 安全漏洞修复合集(6项 Critical/High)#494
Closed
lichangfeng-1 wants to merge 1 commit into
Closed
Conversation
… 白名单校验 - SEC-003: complete_upload 添加 expire_style 校验 - SEC-004: CORS allow_credentials=False - BUG-001: SQL占位符多数据库兼容 - BUG-002: Token窗口竞态修复 - BUG-003: session泄漏修复
|
@lichangfeng-1 is attempting to deploy a commit to the vastsa's projects Team on Vercel. A member of the Team first needs to authorize it. |
4 tasks
Owner
|
感谢 @lichangfeng-1 的审计和修复提交,方向整体正确,问题定位很有价值 👍 我在本地 review 后,基于本 PR 的思路整理并提交了增强版:#496 Review 结论摘要可直接认可
建议修正
后续增强版实现与测试见:#496 |
Owner
|
已处理完毕。 本 PR 的有效修复已由增强版 #496 合入主线(含 dialect 探测修正、统一 为避免重复改动与分叉维护,这里关闭 #494。 |
Owner
|
Superseded by #496 (merged). 有效修复已合入主线,关闭本 PR 以避免重复。 |
pull Bot
pushed a commit
to CN0579/FileCodeBox
that referenced
this pull request
Jul 23, 2026
Apply the useful security fixes from PR vastsa#494 with review corrections: validate expire_style through a shared helper, accept previous download token window, detect SQL dialect via Tortoise capabilities, close remote download sessions on client abort, and disable invalid CORS credentials.
Author
|
感谢采纳,很高兴有帮助 🙌 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
对 FileCodeBox 进行代码审计后,发现并修复了以下安全问题。所有修复向后兼容,不影响现有功能。
修复清单
🔴 Critical(3项)
🟠 High(3项)
兼容性