Is the universe infinite?
Friedmann found expanding-universe solutions to Einstein's equations with positive, zero or negative curvature. Whether space is finite or infinite depends on that curvature and the overall geometry.
Einstein's equations allow several cosmic geometries; a closed one is finite, while flat or open ones can extend without limit.
Source: On the Curvature of Space