def save_to_db(neo4j_db, entries, logger):
    """
    Stores CVE data to neo4j database.

    :param neo4j_db: instance of class Neo4j (neo4j_storing.py) which implements method
    store_data_from_vendor
    :param entries: list of vulnerabilities
    :param logger: logger for the method
    :return: number of CVE nodes created in the database
    """
    return neo4j_db.store_data_from_vendor(entries, logger)