parameters: (id_, cve, user, **kwargs)
docstring: Update CVE for a Exploit.
  
      :param id_: The ObjectId of the Exploit to update.
      :type id_: str
      :param cve: The CVE we are setting.
      :type CVE: str
      :param user: The user updating the CVE.
      :type user: str
      :returns: dict
docstring_summary: Update CVE for a Exploit.
docstring_tokens: Update CVE for a Exploit .
function: def update_exploit_cve(id_, cve, user, **kwargs):
      """
      Update CVE for a Exploit.
  
      :param id_: The ObjectId of the Exploit to update.
      :type id_: str
      :param cve: The CVE we are setting.
      :type CVE: str
      :param user: The user updating the CVE.
      :type user: str
      :returns: dict
      """
  
      sources = user_sources(user)
      exploit = Exploit.objects(id=id_, source__name__in=sources).first()
      if not exploit:
          return {'success': False,
                  'message': 'No exploit could be found.'}
      else:
          exploit.cve = cve
          exploit.save(username=user)
          return {'success': True}
function_tokens: def update_exploit_cve ( id_ , cve , user , * * kwargs ) : sources = user_sources ( user ) exploit = Exploit . objects ( id = id_ , source__name__in = sources ) . first ( ) if not exploit : return { 'success' : False , 'message' : 'No exploit could be found.' } else : exploit . cve = cve exploit . save ( username = user ) return { 'success' : True }