GHSA-w3rx-r6r6-pgpr and GHSA-5p2g-fcmc-qvqq (image-size): patched version 2.0.3 has never been published
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 58/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- javascript, react-native
- 领域
- security
调研方向
首先定位 GHSA-w3rx-r6r6-pgpr 和 GHSA-5p2g-fcmc-qvqq 的 advisory 记录,然后在 npm registry 中验证 image-size 的版本。在更改 patched-version 信息之前,先查看 repository 的 advisory metadata workflow。完成的标准是这些记录准确反映一个可安装的修复,或明确记录不存在可用修复。
由索引模型根据 Issue 内容生成。
描述
Advisories
- GHSA-w3rx-r6r6-pgpr —
image-size: ICNS parser allows denial of service through an infinite loop - GHSA-5p2g-fcmc-qvqq —
image-size: JXL and HEIF parsers allow denial of service through infinite loop
The problem
Both advisories record:
- vulnerable versions:
<= 2.0.2 - patched versions:
>= 2.0.3
image-size@2.0.3 does not exist on npm. The registry currently returns:
$ npm view image-size dist-tags
{ latest: '2.0.2', legacy: '1.2.1' }
The full published 2.x line ends at 2.0.2, which is inside the vulnerable range. So every published version of the package is vulnerable and the advertised remedy cannot be installed.
Why it matters downstream
The metadata is what automated remediation acts on. Attempting the advised upgrade fails outright:
$ pnpm audit
2 high severity vulnerabilities found
$ # pin to the advised patched range
[ERR_PNPM_NO_MATCHING_VERSION] No matching version found for image-size@>=2.0.3
image-size is reached transitively by a very large number of projects (in ours it arrives through react-native → metro), so any CI gate that fails on high-severity findings hits this. With no installable fix, the remaining options are suppressing the advisory or patching locally — and a suppression taken because the stated remedy silently failed is worse than one taken deliberately.
Suggested correction
If no fixed release exists yet, the advisories would be more accurate with no patched version recorded (or the range left open) rather than one pointing at an unpublished version. If a fix is released later, 2.0.3 can be filled in then and downstream tooling will act on it correctly.
Upstream issues are disabled on image-size/image-size, so I could not raise it there; filing here since the correction is to the advisory metadata.
Checked
Against the npm registry on 2026-08-08.
- 主要语言
- 没有语言数据
- 星标
- 2.5k
- 派生
- 772
- 平均合并
- 3 天 15 小时
- 30 天内合并 PR
- 46
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
github/advisory-database 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
github/advisory-database#9255 ·
-
难度 2/5 1-3 小时 新手友好度 72/100
github/advisory-database#9164 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 72/100
github/advisory-database#8994 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
github/advisory-database#8898 · 4 条评论 · 1 个 reaction ·
-
难度 2/5 1-3 小时 新手友好度 72/100
github/advisory-database#8841 ·
查看 github/advisory-database 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 75/100
-
oblt-aw/detector/security
难度 2/5 1-3 小时 新手友好度 70/100
-
setup tools wizard offers no GitHub auth path, and setup summary doesn't recognize `gh` CLI auth 未关闭area/auth comp/cli P3 tool/skills type/bug
难度 2/5 1-3 小时 新手友好度 75/100
NousResearch/hermes-agent#121131 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
trailofbits/skills#330 ·
-
accepted
难度 2/5 1-3 小时 新手友好度 75/100