CVE-2022-40896

NameCVE-2022-40896
DescriptionA ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
pygments (PTS)jessie, jessie (lts)2.0.1+dfsg-1.1+deb8u3vulnerable
stretch (security), stretch (lts), stretch2.2.0+dfsg-1+deb9u2vulnerable
buster (security), buster, buster (lts)2.3.1+dfsg-1+deb10u2vulnerable
bullseye2.7.1+dfsg-2.1vulnerable
bookworm2.14.0+dfsg-1vulnerable
sid, trixie2.18.0+dfsg-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
pygmentssource(unstable)2.15.1+dfsg-1

Notes

[bookworm] - pygments <no-dsa> (Minor issue)
[bullseye] - pygments <no-dsa> (Minor issue)
[buster] - pygments <no-dsa> (Minor issue)
https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/
https://github.com/pygments/pygments/issues/2356
https://github.com/pygments/pygments/issues/2355
https://github.com/pygments/pygments/commit/dd52102c38ebe78cd57748e09f38929fd283ad04 (2.14.0)
https://github.com/pygments/pygments/commit/97eb3d5ec7c1b3ea4fcf9dee30a2309cf92bd194 (2.15.0)
https://github.com/pygments/pygments/commit/fdf182a7af85b1deeeb637ca970d31935e7c9d52 (2.15.1)
[stretch] - pygments <no-dsa> (Minor issue and only partially affected)
[jessie] - pygments <no-dsa> (Minor issue and only partially affected)

Search for package or bug name: Reporting problems