Files
poky/meta/recipes-devtools
Narpat Mali b402c3ac78 python3-pygments: Fix CVE-2022-40896
CVE-2022-40896:
A ReDoS issue was discovered in pygments/lexers/smithy.py in pygments
through 2.15.0 via SmithyLexer.

The CVE issue is fixed by 3 different commits between the releases 2.14.0
(for Smithy lexer), 2.15.0 (for SQL+Jinja lexers) and 2.15.1 (for Java
properties) as per: https://pyup.io/posts/pyup-discovers-redos-vulnerabilities-in-top-python-packages-part-2/

1. Smithy lexer commit from 2.14.0 release applies successfully on 2.11.2 version.
Commit: dd52102c38
Hence, backported the patch as CVE-2022-40896.patch.

2. SQL+Jinja lexers commit from 2.15.0 release doesn't apply on 2.11.2 version.
Commit: 97eb3d5ec7
Actually, this code doesn't exist in 2.11.2 version and it has been introduce by
python3-pygments 2.13.0 version. Hence, this is not vulnerable for 2.11.2 version.
SQL+Jinja lexers is introduced by: 0bdbd5992b

3. Java properties commit from 2.15.1 release also doesn't apply on 2.11.2 version.
Commit: fdf182a7af
Actually, this code also doesn't exist in 2.11.2 version as the code has been modified
in python3-pygments 2.14.0 by: a38cb38e93
Hence, this is also not vulnerable for 2.11.2 version.

(From OE-Core rev: ebb224e65a7e1402ccf0d9517bd72748c18e012e)

Signed-off-by: Narpat Mali <narpat.mali@windriver.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
2023-09-18 04:28:03 -10:00
..
2023-02-15 21:46:56 +00:00
2023-08-26 04:24:02 -10:00
2023-05-10 04:19:56 -10:00
2022-03-02 18:43:24 +00:00
2021-11-25 21:55:10 +00:00
2022-03-16 10:31:40 +00:00
2022-08-01 16:27:29 +01:00
2022-03-16 13:39:12 +00:00
2023-09-08 16:09:41 -10:00
2023-08-07 04:40:44 -10:00
2023-05-30 04:11:15 -10:00
2021-11-03 10:12:42 +00:00
2022-03-24 17:45:29 +00:00
2023-08-30 04:46:35 -10:00
2023-09-08 16:09:41 -10:00
2022-05-25 22:45:50 +01:00
2022-03-23 12:13:49 +00:00
2022-03-11 06:56:01 +00:00
2022-05-25 22:45:50 +01:00
2022-12-01 19:35:05 +00:00
2022-03-20 00:02:22 +00:00
2023-09-08 16:09:41 -10:00
2021-08-02 15:44:10 +01:00
2023-07-21 06:27:34 -10:00
2023-03-23 22:45:33 +00:00
2022-03-02 18:43:24 +00:00
2023-05-03 04:17:12 -10:00
2022-05-04 13:07:33 +01:00
2021-12-08 20:22:10 +00:00
2022-11-24 15:30:01 +00:00