{"url":"http://public2.vulnerablecode.io/api/packages/9075?format=json","purl":"pkg:pypi/pygments@1.2.2","type":"pypi","namespace":"","name":"pygments","version":"1.2.2","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"2.15.1","latest_non_vulnerable_version":"2.15.1","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/34977?format=json","vulnerability_id":"VCID-aape-ns89-2uar","summary":"The FontManager._get_nix_font_path function in formatters/img.py in Pygments 1.2.2 through 2.0.2 allows remote attackers to execute arbitrary commands via shell metacharacters in a font name.","references":[{"reference_url":"http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html","reference_id":"","reference_type":"","scores":[],"url":"http://packetstormsecurity.com/files/133823/Pygments-FontManager._get_nix_font_path-Shell-Injection.html"},{"reference_url":"https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff","reference_id":"","reference_type":"","scores":[],"url":"https://bitbucket.org/birkenfeld/pygments-main/pull-requests/501/fix-shell-injection-in/diff"},{"reference_url":"http://seclists.org/fulldisclosure/2015/Oct/4","reference_id":"","reference_type":"","scores":[],"url":"http://seclists.org/fulldisclosure/2015/Oct/4"},{"reference_url":"https://github.com/advisories/GHSA-fff8-4w9p-7v76","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-fff8-4w9p-7v76"},{"reference_url":"https://security.gentoo.org/glsa/201612-05","reference_id":"","reference_type":"","scores":[],"url":"https://security.gentoo.org/glsa/201612-05"},{"reference_url":"http://www.debian.org/security/2016/dsa-3445","reference_id":"","reference_type":"","scores":[],"url":"http://www.debian.org/security/2016/dsa-3445"},{"reference_url":"http://www.openwall.com/lists/oss-security/2015/12/14/17","reference_id":"","reference_type":"","scores":[],"url":"http://www.openwall.com/lists/oss-security/2015/12/14/17"},{"reference_url":"http://www.openwall.com/lists/oss-security/2015/12/14/6","reference_id":"","reference_type":"","scores":[],"url":"http://www.openwall.com/lists/oss-security/2015/12/14/6"},{"reference_url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html","reference_id":"","reference_type":"","scores":[],"url":"http://www.oracle.com/technetwork/topics/security/bulletinjan2016-2867206.html"},{"reference_url":"http://www.ubuntu.com/usn/USN-2862-1","reference_id":"","reference_type":"","scores":[],"url":"http://www.ubuntu.com/usn/USN-2862-1"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/9086?format=json","purl":"pkg:pypi/pygments@2.1","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-cz6q-73vy-tbcf"},{"vulnerability":"VCID-qa6e-abwc-47a4"},{"vulnerability":"VCID-rm69-vst8-xqbq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pygments@2.1"}],"aliases":["CVE-2015-8557","GHSA-fff8-4w9p-7v76","PYSEC-2016-32"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-aape-ns89-2uar"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/35751?format=json","vulnerability_id":"VCID-qa6e-abwc-47a4","summary":"In pygments 1.1+, fixed in 2.7.4, the lexers used to parse programming languages rely heavily on regular expressions. Some of the regular expressions have exponential or cubic worst-case complexity and are vulnerable to ReDoS. By crafting malicious input, an attacker can cause a denial of service.","references":[{"reference_url":"https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce","reference_id":"","reference_type":"","scores":[],"url":"https://gist.github.com/b-c-ds/b1a2cc0c68a35c57188575eb496de5ce"},{"reference_url":"https://github.com/advisories/GHSA-pq64-v7f5-gqh8","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-pq64-v7f5-gqh8"},{"reference_url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pygments/pygments/commit/2e7e8c4a7b318f4032493773732754e418279a14"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html","reference_id":"","reference_type":"","scores":[],"url":"https://lists.debian.org/debian-lts-announce/2021/03/msg00024.html"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html","reference_id":"","reference_type":"","scores":[],"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00003.html"},{"reference_url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html","reference_id":"","reference_type":"","scores":[],"url":"https://lists.debian.org/debian-lts-announce/2021/05/msg00006.html"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/GSJRFHALQ7E3UV4FFMFU2YQ6LUDHAI55/"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ/","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WSLD67LFGXOX2K5YNESSWAS4AGZIJTUQ/"},{"reference_url":"https://www.debian.org/security/2021/dsa-4878","reference_id":"","reference_type":"","scores":[],"url":"https://www.debian.org/security/2021/dsa-4878"},{"reference_url":"https://www.debian.org/security/2021/dsa-4889","reference_id":"","reference_type":"","scores":[],"url":"https://www.debian.org/security/2021/dsa-4889"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/20373?format=json","purl":"pkg:pypi/pygments@2.7.4","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rm69-vst8-xqbq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pygments@2.7.4"}],"aliases":["CVE-2021-27291","GHSA-pq64-v7f5-gqh8","PYSEC-2021-141"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-qa6e-abwc-47a4"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/36493?format=json","vulnerability_id":"VCID-rm69-vst8-xqbq","summary":"A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments through 2.15.0 via SmithyLexer.","references":[{"reference_url":"https://github.com/pygments/pygments","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pygments/pygments"},{"reference_url":"https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pygments/pygments/blob/master/pygments/lexers/smithy.py#L61"},{"reference_url":"https://github.com/pygments/pygments/commit/97eb3d5ec7c1b3ea4fcf9dee30a2309cf92bd194","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pygments/pygments/commit/97eb3d5ec7c1b3ea4fcf9dee30a2309cf92bd194"},{"reference_url":"https://github.com/pygments/pygments/commit/dd52102c38ebe78cd57748e09f38929fd283ad04","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pygments/pygments/commit/dd52102c38ebe78cd57748e09f38929fd283ad04"},{"reference_url":"https://github.com/pygments/pygments/commit/fdf182a7af85b1deeeb637ca970d31935e7c9d52","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pygments/pygments/commit/fdf182a7af85b1deeeb637ca970d31935e7c9d52"},{"reference_url":"https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2023-117.yaml","reference_id":"","reference_type":"","scores":[],"url":"https://github.com/pypa/advisory-database/tree/main/vulns/pygments/PYSEC-2023-117.yaml"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EZGMXALE3HSP4OXC7UUWIKX3OXKZDTY3"},{"reference_url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO","reference_id":"","reference_type":"","scores":[],"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VUZO4BQCIY2S2KZYHERQMKURB7AHXDBO"},{"reference_url":"https://pypi.org/project/Pygments","reference_id":"","reference_type":"","scores":[],"url":"https://pypi.org/project/Pygments"},{"reference_url":"https://pypi.org/project/Pygments/","reference_id":"","reference_type":"","scores":[],"url":"https://pypi.org/project/Pygments/"},{"reference_url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2","reference_id":"","reference_type":"","scores":[],"url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2"},{"reference_url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/","reference_id":"","reference_type":"","scores":[],"url":"https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40896","reference_id":"CVE-2022-40896","reference_type":"","scores":[],"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-40896"},{"reference_url":"https://github.com/advisories/GHSA-mrwq-x4v8-fh7p","reference_id":"GHSA-mrwq-x4v8-fh7p","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-mrwq-x4v8-fh7p"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/35015?format=json","purl":"pkg:pypi/pygments@2.15.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-rm69-vst8-xqbq"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pygments@2.15.0"},{"url":"http://public2.vulnerablecode.io/api/packages/35016?format=json","purl":"pkg:pypi/pygments@2.15.1","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pygments@2.15.1"}],"aliases":["CVE-2022-40896","GHSA-mrwq-x4v8-fh7p","PYSEC-2023-117"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-rm69-vst8-xqbq"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/pygments@1.2.2"}