Spain were next to threaten but Juventus goalkeeper Gianluigi Buffon came to the visitors' rescue twice in quick succession on 37 minutes.