diff options
author | Peter Marko <peter.marko@siemens.com> | 2025-07-09 20:54:09 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-07-18 08:32:26 -0700 |
commit | 843820d9e41afef1ca550074077e48828f55edb7 (patch) | |
tree | 5b6c246e8a011e604349133e7d116ccfed46ea36 | |
parent | c0623fde1f90f718c0c1abded88f387a055808fa (diff) | |
download | poky-843820d9e41afef1ca550074077e48828f55edb7.tar.gz |
python3: update CVE product
There are two "new" CVEs reported for python3, their CPEs are:
* CVE-2020-1171: cpe:2.3:a:microsoft:python:*:*:*:*:*:visual_studio_code:*:* (< 2020.5.0)
* CVE-2020-1192: cpe:2.3:a:microsoft:python:*:*:*:*:*:visual_studio_code:*:* (< 2020.5.0)
These are for "Visual Studio Code Python extension".
Solve this by addding CVE vendor to python CVE product to avoid
confusion with Microsoft as vendor.
Examining CVE DB for historical python entries shows:
sqlite> select vendor, product, count(*) from products where product = 'python' or product = 'cpython'
...> or product like 'python%3' group by vendor, product;
microsoft|python|2
python|python|1054
python_software_foundation|python|2
(From OE-Core rev: 06f615e6939a22bc8f12b30d8dea582ab3ccebe6)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-rw-r--r-- | meta/recipes-devtools/python/python3_3.10.18.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/python/python3_3.10.18.bb b/meta/recipes-devtools/python/python3_3.10.18.bb index 0b57a0ebee..875b52cde9 100644 --- a/meta/recipes-devtools/python/python3_3.10.18.bb +++ b/meta/recipes-devtools/python/python3_3.10.18.bb | |||
@@ -51,7 +51,7 @@ SRC_URI[sha256sum] = "ae665bc678abd9ab6a6e1573d2481625a53719bc517e9a634ed2b9fefa | |||
51 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" | 51 | UPSTREAM_CHECK_REGEX = "[Pp]ython-(?P<pver>\d+(\.\d+)+).tar" |
52 | UPSTREAM_CHECK_URI = "https://www.python.org/downloads/source/" | 52 | UPSTREAM_CHECK_URI = "https://www.python.org/downloads/source/" |
53 | 53 | ||
54 | CVE_PRODUCT = "python" | 54 | CVE_PRODUCT = "python:python python_software_foundation:python" |
55 | 55 | ||
56 | # Upstream consider this expected behaviour | 56 | # Upstream consider this expected behaviour |
57 | CVE_CHECK_IGNORE += "CVE-2007-4559" | 57 | CVE_CHECK_IGNORE += "CVE-2007-4559" |