github / github/vscode-github-actions

Incorrect version in package-lock.json triggers false positive for critical security vulnerability

未关闭
#356 0 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
TypeScript
星标
660
派生
213
PR 合并指标
30 天内没有已合并 PR

描述

In `~/.vscode-server/extensions/github.vscode-github-actions-0.26.3/script/workspace/package-lock.json`:

```
"vscode-github-actions": {
"version": "0.25.6",
```

So it looks like the declared version in the lock file (0.25.6) is older than the package version (0.26.3).

This in turn gets flagged in `grype`:

```
vscode-github-actions 0.25.6 npm GHSA-wvmr-x489-hcpj Critical
```

Which is quite the false alarm, given the severity of that particular issue:

https://github.com/advisories/GHSA-wvmr-x489-hcpj

贡献指南

打开贡献指南

调研方向

Inspect ~/.vscode-server/extensions/github.vscode-github-actions-0.26.3/script/workspace/package-lock.json and compare the vscode-github-actions entry with the package version 0.26.3. Check the result with grype; done means the lock file no longer reports version 0.25.6 or triggers the cited false vulnerability finding.

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

评估

技术栈
typescript
领域
security
Issue 类型
缺陷
难度
1/5
预计耗时
1 小时以内
活跃度
停滞
描述清晰度
描述清楚
新手友好度
42/100

把新 issue 发到你的邮箱

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