pygments vulnerabilities
Pygments is a syntax highlighting package written in Python.
- Registry
- PyPI
- Latest
- 2.21.0
- License
- BSD-2-Clause
5 known advisories
The latest version, 2.21.0, is not affected by any of them. Projects on older versions may be.
pip install 'pygments>=2.21.0'Is your project on an affected pygments?
Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Security advisories for pygments
Pygments has Regular Expression Denial of Service (ReDoS) due to Inefficient Regex for GUID Matching
- Affected
- <2.20.0
- Fixed in
- 2.20.0
Pygments vulnerable to ReDoS
- Affected
- <2.15.0
- Fixed in
- 2.15.0
Command Injection in Pygments
- Affected
- >=1.2.2 <2.1
- Fixed in
- 2.1
Infinite Loop in Pygments
- Affected
- >=1.5 <2.7.4
- Fixed in
- 2.7.4
Pygments vulnerable to Regular Expression Denial of Service (ReDoS)
- Affected
- >=1.1 <2.7.4
- Fixed in
- 2.7.4
Is your pygments version vulnerable?
- pygments 2.21No known advisories in 2.21.0
- pygments 2.20No known advisories in 2.20.0
- pygments 2.191 advisory in 2.19.2
- pygments 2.181 advisory in 2.18.0
- pygments 2.171 advisory in 2.17.2
- pygments 2.161 advisory in 2.16.1
- pygments 1.65 advisories in 1.6.0
- pygments 1.55 advisories in 1.5.0
- pygments 1.44 advisories in 1.4.0
- pygments 1.34 advisories in 1.3.1
- pygments 1.24 advisories in 1.2.2
- pygments 1.13 advisories in 1.1.1
- pygments 0.112 advisories in 0.11.1
- pygments 0.102 advisories in 0.10.0
- pygments 0.92 advisories in 0.9.0
- pygments 0.82 advisories in 0.8.1
- pygments 0.72 advisories in 0.7.1
- pygments 0.62 advisories in 0.6.0
Which of your client projects still run an old pygments?
NPMscan reads the requirements.txt, poetry.lock, uv.lock and Pipfile.lock in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.
Other PyPI packages
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the PyPI registry.