She underwent a procedure at Johns Hopkins Hospital in Baltimore on Tuesday afternoon to clean a bile duct stent that was placed last August.
Ms Ginsburg, 87, was "resting comfortably" and would stay in the hospital for a few days.
The justice's recent health issues aren't necessarily unique for her, as she's battled cancer twice before. In May, Ginsburg was hospitalized and received nonsurgical treatment for a gallbladder condition.
This is the second time Ginsburg has been hospitalized recently. Subsequent medical tests led to treatment for lung cancer that caused her to miss oral arguments in January 2019.
Mark Lawrenson states his prediction for Man United v Southampton
Pogba has been asked to play deeper by Solskjaer and that has seen him control matches more often and spray passes forwards to his teammates in fantastic fashion.
Supreme Court Justice Ruth Bader Ginsburg has been transported to the hospital and treated for a possible infection.
Supreme Court justices serve for life or until they choose to retire, and supporters have expressed concern that if anything were to happen to Ms Ginsburg then a more conservative judge might replace her.
Asked in a White House press conference about Ginsburg, Trump indicated he had not heard the news. "She's actually given me some good rulings". In addition to the tumor on her pancreas previous year, she was previously treated for colorectal cancer in 1999 and pancreatic cancer in 2009. "I hope she's better", he said.
Liberals - already in the minority on the court - are anxious that were she to die or retire before Donald Trump leaves office, she might be replaced by a conservative justice, who might vote to overturn key court decisions such as Roe v Wade.