MSRC-Microsoft-Security-Updates-API icon indicating copy to clipboard operation
MSRC-Microsoft-Security-Updates-API copied to clipboard

Regarding the Microsoft Security Update Supersedence and CPE Correspondence Issues

Open JulianEXL opened this issue 3 years ago • 4 comments

Recently, I obtained the Microsoft security update and CVE corresponding data through MSRC API, and encountered the following problems:

The monthly Microsoft update JSON file contains each CVE and remediation patch KBID, and the supercedence KBID. Is there a way to list KBIDs and the KBIDs which they superceded?

The information obtained through the MSRC API includes the product name and product id, but doesn't contain CPE format provided by NVD. Is there a way to match the product name with the CPE format? https://nvd.nist.gov/products/cpe

EX: product name VS CPE Microsoft Exchange Server 2016 Cumulative Update 17 VS cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_17:*:*:*:*:*:*

Thanks for the assistance!

JulianEXL avatar Apr 28 '21 03:04 JulianEXL

Using the MSRC API you get the productname and its CVE. Using additional code, you can then visit for example https://nvd.nist.gov/vuln/detail/CVE-2021-1675 and parse the page to extract CPE. NIST may also have an API to match the product name to its CPE format.

p0w3rsh3ll avatar Jul 17 '21 15:07 p0w3rsh3ll

We want to correlate the CVE/CPE from NIST, with the CVE/ProductName from the CVRF API, because scanning tools report CVE & Installed CPE's, and we want to calculate the KB specific to the product to apply to the devices. Fuzzy matching the product name isn't yielding the best result. For example, values like "Service Pack 1" vs "SP1". I see some of the other vendors have included CPE values as separate fields in the XLM/JSON, which works well for us. Can you at least comma separate the segments for product, vendor, version and anything else, in the full product name?

YulerB avatar Mar 08 '22 13:03 YulerB

up ? We are also interested having CPE in the MSRC update json files Thnks !

MaKyOtOx avatar Apr 20 '23 08:04 MaKyOtOx

hi, do you find any approach to match product name VS CPE Microsoft Exchange Server 2016 Cumulative Update 17 VS cpe:2.3:a:microsoft:exchange_server:2016:cumulative_update_17:::::: ?

fartak-pooria avatar Apr 29 '23 06:04 fartak-pooria