Skip to content

Commit

Permalink
fix: add additional ppp CPE ID
Browse files Browse the repository at this point in the history
samba:ppp is also a valid CPE ID:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:samba:ppp

Signed-off-by: Fabrice Fontaine <[email protected]>
  • Loading branch information
ffontaine committed Apr 28, 2024
1 parent ec67e43 commit d23e4db
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion cve_bin_tool/checkers/ppp.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""
CVE checker for point-to-point_protocol
https://www.cvedetails.com/product/2091/Samba-PPP.html?vendor_id=102
https://www.cvedetails.com/product/61854/Point-to-point-Protocol-Project-Point-to-point-Protocol.html?vendor_id=20961
"""
Expand All @@ -21,4 +22,7 @@ class PppChecker(Checker):
r"pppd[a-z, :%\)]*\r?\n([0-9]+\.[0-9]+\.[0-9]+)",
r"([0-9]+\.[0-9]+\.[0-9]+)\r?\npppd",
]
VENDOR_PRODUCT = [("point-to-point_protocol_project", "point-to-point_protocol")]
VENDOR_PRODUCT = [
("point-to-point_protocol_project", "point-to-point_protocol"),
("samba", "ppp"),
]

0 comments on commit d23e4db

Please sign in to comment.