CVE-2022-40896
MEDIUM5.5EPSS 0.07%Pygments vulnerable to ReDoS
發布日:2023/7/19修改日:2026/5/29
描述
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
受影響套件(3)
- Debian/pygmentsfrom 0
- PyPI/pygmentsfrom 0, < 2.15.0
- PyPI/pygmentsfrom 0, < 2.15.1
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | MEDIUM5.5 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |
參考連結(14)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-40896
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-40896
- PATCHhttps://github.com/pygments/pygments
- PATCHhttps://pypi.org/project/Pygments/
- WEBhttps://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61
- WEBhttps://github.com/pygments/pygments/commit/97eb3d5ec7c1b3ea4fcf9dee30a2309cf92bd194
- WEBhttps://github.com/pygments/pygments/commit/dd52102c38ebe78cd57748e09f38929fd283ad04
- WEBhttps://github.com/pygments/pygments/commit/fdf182a7af85b1deeeb637ca970d31935e7c9d52
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2023-117.yaml
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3
- WEBhttps://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO
- WEBhttps://pypi.org/project/Pygments
- WEBhttps://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2
- WEBhttps://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/