Skip to contentSkip to conversation

python3-httpx: set CVE_PRODUCT

PATCH New Devansh Patel -X (devanshp - E INFOCHIPS PRIVATE LIMITED at Cisco) 1 participant 1 message Aug 12

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-httpx: set CVE_PRODUCT

From: Gyorgy Sarvari <[email protected]>

The relevant CVEs are tracked in the CVE db with encode:httpx CPE instead of the default python:httpx. Set CVE_PRODUCT accordingly.

See CVE db query:
sqlite> select * from products where product like '%httpx%'; CVE-2021-41945|encode|httpx|||0.23.0|<

(cherry picked from commit 8627277b502bd01e0ac1d856032efe7ae049a249)
---
 meta-python/recipes-devtools/python/python3-httpx_0.27.0.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-python/recipes-devtools/python/python3-httpx_0.27.0.bb +2 -0
index e4d3cbeee8..f16edceac1 100644
@@ -7,6 +7,8 @@ inherit pypi python_hatchling
 
 SRC_URI[sha256sum] = "a0cb88a46f32dc874e04ee956e4c2764aba2aa228f650b06788ba6bda2962ab5"
 
+CVE_PRODUCT = "encode:httpx"
+
 DEPENDS += "\
     python3-hatch-fancy-pypi-readme-native \
 "
Signature · 1 line
2.35.6