did the "cpe" attribute of the object CVE from the nvdlib in python has been removed? i wrote a code weeks ago to get the cpe assigned to a cve and it worked, now i get an error mentionning that the cpe attribute dosen't exist, here is my function
def FindCpeName(CVE):
try:
for j in CVE.cpe:
A = vars(j) #make a dictionnary
cpeName = A['criteria'] #find cpe
print(cpeName)
except:
print("no cpe is attached to this CVE, the vulnerability status is : ", CVE.vulnStatus)
for cve in cve_list:
FindCpeName(cve)
did the attribute has been removed? how to extract the cpe in a similiar way like the code used to do?