Skip to content

cve: Fix escaping of CPE

Benjamin Robin openembedded-core 1 version New

Get series with b4
b4 am [email protected] change-id 20260410-fix-cpe-escaping-5bc9a67a8d13

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4cve_check: Improve escaping of special characters in CPE 2.3meta/lib/oe/cve_check.py+12 -160 replies
2/4cve_check: do not break old CVE_PRODUCT with escaped +meta/lib/oe/cve_check.py+3 -00 replies
3/4gtk+: Remove escaping of the plus sign in `CVE_PRODUCT`meta/recipes-gnome/gtk+/gtk+3_3.24.51.bb+1 -10 replies
4/4webkitgtk: Remove escaping of the plus sign in `CVE_PRODUCT`meta/recipes-sato/webkit/webkitgtk_2.50.6.bb+1 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] cve: Fix escaping of CPE

This series tries to fix the regression introduced by commit 9dd9c0038907 ("cve_check: Escape special characters in CPE 2.3 strings")

CVE_PRODUCT was already escaped. Now it no longer needs to be escaped, otherwise double escaping is realized.

Also add a patch in this series that try to handle the transition between the previous behavior and the new one.

---
Benjamin Robin (4):
cve_check: Improve escaping of special characters in CPE 2.3
cve_check: do not break old CVE_PRODUCT with escaped + gtk+: Remove escaping of the plus sign in CVE_PRODUCT
webkitgtk: Remove escaping of the plus sign in CVE_PRODUCT

 meta/lib/oe/cve_check.py                     | 29 ++++++++++++++--------------
 meta/recipes-gnome/gtk+/gtk+3_3.24.51.bb     |  2 +-
 meta/recipes-sato/webkit/webkitgtk_2.50.6.bb |  2 +-
 3 files changed, 16 insertions(+), 17 deletions(-)

---
base-commit: 853baa702e3275fc8b4dc492a93d9a00c8cf5c0f
change-id: 20260410-fix-cpe-escaping-5bc9a67a8d13

Best regards,

Signature · 1 line
Benjamin Robin <[email protected]>