Supreme Court Justice Ruth Bader Ginsburg underwent surgery to remove malignant nodules from her lung.