pygments-2.19.2-py3-none-any.whl: 1 vulnerabilities (highest severity is: 3.3)
还没有人认领这个 Issue。
评估
调研方向
首先定位 sql-cli 仓库中引入 pygments 2.19.2 的依赖配置。将其升级到 pygments 2.20.0,然后运行项目中可用的检查,并确认不再报告 CVE-2026-4539。
由索引模型根据 Issue 内容生成。
描述
Vulnerable Library - pygments-2.19.2-py3-none-any.whl
Pygments is a syntax highlighting package written in Python.
Library home page: https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl
Path to dependency file: /tmp/ws-scm/sql-cli
Path to vulnerable library: /tmp/ws-ua_20260518195424_ZCYUWM/python_XKNQIE/202605181954251/env/lib/python3.12/site-packages/pygments-2.19.2.dist-info
Found in HEAD commit: 68212e0c681da02608aa39ca6a7234d5a082124e
Vulnerabilities
| Vulnerability | Severity | CVSS |
Dependency | Type | Fixed in (pygments version) | Remediation Possible** |
|---|---|---|---|---|---|---|
| CVE-2026-4539 | Low |
3.3 | pygments-2.19.2-py3-none-any.whl | Direct | pygments - 2.20.0 | ❌ |
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2026-4539
Vulnerable Library - pygments-2.19.2-py3-none-any.whl
Pygments is a syntax highlighting package written in Python.
Library home page: https://files.pythonhosted.org/packages/c7/21/705964c7812476f378728bdf590ca4b771ec72385c533964653c68e86bdc/pygments-2.19.2-py3-none-any.whl
Path to dependency file: /tmp/ws-scm/sql-cli
Path to vulnerable library: /tmp/ws-ua_20260518195424_ZCYUWM/python_XKNQIE/202605181954251/env/lib/python3.12/site-packages/pygments-2.19.2.dist-info
Dependency Hierarchy:
- ❌ pygments-2.19.2-py3-none-any.whl (Vulnerable Library)
Found in HEAD commit: 68212e0c681da02608aa39ca6a7234d5a082124e
Found in base branch: main
Vulnerability Details
A security flaw has been discovered in pygments up to 2.19.2. The impacted element is the function AdlLexer of the file pygments/lexers/archetype.py. The manipulation results in inefficient regular expression complexity. The attack is only possible with local access. The exploit has been released to the public and may be used for attacks. The project was informed of the problem early through an issue report but has not responded yet.
Publish Date: 2026-03-22
URL: CVE-2026-4539
CVSS 3 Score Details (3.3)
Base Score Metrics:
- Exploitability Metrics:
- Attack Vector: Local
- Attack Complexity: Low
- Privileges Required: Low
- User Interaction: None
- Scope: Unchanged
- Impact Metrics:
- Confidentiality Impact: None
- Integrity Impact: None
- Availability Impact: Low
Suggested Fix
Type: Upgrade version
Origin: https://github.com/advisories/GHSA-5239-wwwm-4pmq
Release Date: 2026-03-22
Fix Resolution: pygments - 2.20.0
- 主要语言
- Python
- 星标
- 9
- 派生
- 24
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
opensearch-project/sql-cli 的其他 Issue
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 58/100
-
Mend: dependency security vulnerability
难度 2/5 1-3 小时 新手友好度 58/100
-
难度 5/5 一周以上 新手友好度 20/100
opensearch-project/sql-cli#59 · 1 条评论 · 1 个 reaction ·
-
Update version on PyPi可能重新可做 @zhongnansu 于 186 天前认领,目前没有进行中的 PR。 未关闭documentation enhancement
opensearch-project/sql-cli#45 · 3 条评论 · 已指派 1 人 ·
-
Github Action Deprecation: actions/upload-artifact@v3可能重新可做 @Swiddis 于 696 天前认领,目前没有进行中的 PR。 未关闭
opensearch-project/sql-cli#31 · 1 条评论 · 已指派 1 人 ·
查看 opensearch-project/sql-cli 的全部 Issue
相似的 Issue
-
dependencies feature github_actions good first issue
难度 2/5 1-3 小时 新手友好度 62/100
wemake-services/wemake-django-template#3149 ·
维护者通常 1 天内回复
-
upstream update
难度 2/5 1-3 小时 新手友好度 65/100
conan-io/conan-center-index#31142 ·
维护者通常 1 天内回复
-
area:core bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
request-theme
难度 2/5 1 小时以内 新手友好度 70/100
LizardByte/ThemerrDB#8877 · 1 条评论 ·
维护者通常 1 天内回复
-
area/install-update comp/gateway P0 sweeper:risk-compatibility type/bug
难度 2/5 1 小时以内 新手友好度 72/100
NousResearch/hermes-agent#135997 · 3 条评论 ·
维护者通常 1 天内回复
CVSS