diff --git a/cve_bin_tool/data_sources/nvd_source.py b/cve_bin_tool/data_sources/nvd_source.py index f3d66037d3..e1ad2db190 100644 --- a/cve_bin_tool/data_sources/nvd_source.py +++ b/cve_bin_tool/data_sources/nvd_source.py @@ -183,7 +183,8 @@ def parse_node(self, node: dict[str, list[dict[str, str]]]) -> list[dict[str, st if "cpe_match" in node: vulnerable_matches = (m for m in node["cpe_match"] if m["vulnerable"]) for cpe_match in vulnerable_matches: - cpe_split = cpe_match["cpe23Uri"].split(":") + # split on `:` only if it's not escaped + cpe_split = re.split(r"(?