Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở Phù hợp với người mới
#66 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
cli, security

Hướng nghiên cứu

Bắt đầu bằng cách xác định cấu hình dependency trong repository sql-cli đang đưa vào pygments 2.19.2. Nâng cấp nó lên pygments 2.20.0, sau đó chạy các kiểm tra hiện có của dự án và xác nhận rằng CVE-2026-4539 không còn được báo cáo.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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

Ngôn ngữ chính
Python
Star
9
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của opensearch-project/sql-cli

Tất cả issue của opensearch-project/sql-cli

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.