ajv-validator / ajv-validator/ajv-cli

Bump `glob@7.2.3` dependency to fix Snyk vulnerability

未關閉
#243 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
316
分支
77
PR 合併指標
30 天內沒有已合併 PR

描述

### Summary
Snyk is reporting a "Missing Release of Resource after Effective Lifetime" vulnerability in `glob@7.2.3`, which is introduced by its dependency of `inflight`. `glob@11.0.0` is the most recent, and the vulnerability has since been removed several versions ago. In fact, `inflight` is now a deprecated package.

### Details
* Introduced through: ajv-cli@5.0.0 › glob@7.2.3 › inflight@1.0.6
* Fix: Upgrade the `glob` package, which removes the `inflight` dependency

### Security information
Factors contributing to the scoring:
Snyk: [CVSS v3.1 6.2](https://security.snyk.io/vuln/SNYK-JS-INFLIGHT-6095116) - Medium Severity
NVD: NVD only publishes analysis of vulnerabilities which are assigned a CVE ID. This vulnerability currently does not have an assigned CVE ID.
[Why are the scores different? Learn how Snyk evaluates vulnerability scores](https://docs.snyk.io/features/fixing-and-prioritizing-issues/issue-management/severity-levels#understanding-snyks-vulnerability-analysis)
Overview
Affected versions of this package are vulnerable to Missing Release of Resource after Effective Lifetime via the makeres function due to improperly deleting keys from the reqs object after execution of callbacks. This behavior causes the keys to remain in the reqs object, which leads to resource exhaustion.

Exploiting this vulnerability results in crashing the node process or in the application crash.

Note: This library is not maintained, and currently, there is no fix for this issue. To overcome this vulnerability, several dependent packages have eliminated the use of this library.

To trigger the memory leak, an attacker would need to have the ability to execute or influence the asynchronous operations that use the inflight module within the application. This typically requires access to the internal workings of the server or application, which is not commonly exposed to remote users. Therefore, “Attack vector” is marked as “Local”.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。