def __cve_details(data, db):
    """
    Get a CVE details.
    """
    _cve = data.parameter
    _query = 'SELECT cve_description FROM CVE WHERE cve LIKE ?;'
    res = []
    res_append = res.append
    res_append("[*] Detail for CVE '%s':" % _cve)
    r = db.raw(query=_query, parameters=(_cve,)).fetchone()
    if r is not None:
        res_append('\n    %s' % r[0])
    res_append('\n')
    return '\n'.join(res)
