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 摘要。