Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

pygments-2.19.2-py3-none-any.whl: 1 vulnerabilities (highest severity is: 3.3)

未关闭 适合新手
#66 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
cli, security

调研方向

首先定位 sql-cli 仓库中引入 pygments 2.19.2 的依赖配置。将其升级到 pygments 2.20.0,然后运行项目中可用的检查,并确认不再报告 CVE-2026-4539。

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

描述

Mend: dependency security vulnerability
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

For more information on CVSS3 Scores, click here.

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

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensearch-project/sql-cli 的其他 Issue

查看 opensearch-project/sql-cli 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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