    public function clearLoginAttempts()
    {
        // If our login attempts is already at zero
        // we do not need to do anything. Additionally,
        // if we are suspended, we are not going to do
        // anything either as clearing login attempts
        // makes us unsuspended. We need to manually
        // call unsuspend() in order to unsuspend.
        if ($this->getLoginAttempts() == 0 or $this->is_suspended) {
            return;
        }

        $this->attempts = 0;
        $this->last_attempt_at = null;
        $this->is_suspended = false;
        $this->suspended_at = null;
        $this->save();
    }
NVD is only using a subset of CWE for mapping instead of the entire CWE, and the weakness type is not covered by that subset.