It ensured another frustrating Rugby Championship result for the two sides for the second time in less than a month, after they fought out a 23-23 draw in Perth.
Both sides scored three tries and two penalties apiece and there was plenty of enterprising play, with the lead changing hands four times in a cracking second half. Fijian-born flyer Koroibete crossed the stripe twice in his first Test start, restoring Australia's lead on both occasions.
Bernard Foley set up both of Koroibete's tries, the first with a sizzling run that sliced the South African line and the second with a dazzling cut-out ball.
But as bodies tired in the testing high-altitude conditions, neither team could find a way to put their noses in front.
The Wallabies held a three-point lead with 10 minutes to play until Jantjies levelled the scores with a spectacular 49-metre penalty.
The visitors were ahead 13-10 at the break but were lucky to have all their men on the field.
Israel Folau somehow escaped sanction for pulling the hair of Springbok winger Dillyn Leyds in a tackle just before halftime to breathe fire into an already tense encounter.
The two teams nearly came to blows but Kiwi O'Keefe deemed it only worthy of a penalty. Folau opened the scoring in the 10th minute, finishing off a sizzling set-piece play from a scrum after a smart inside ball from Foley.
It was Folau's 11th try of the year - the most by an Australian player, overtaking Lote Tuqiri's previous record set in 2004.
The Springboks soon found a reply through prop Ruan Dreyer, who crawled over next to the right post to level the scores at 7-7.
Defensive frailties soon started to open up for Australia, which allowed the South Africans back in the match.
They struck through Jan Serfontein in the 43rd minute and Courtnall Skosan six minutes later, but Koroibete provided a response on each occasion.
It leaves the Wallabies with plenty to stew over on their long flight to South America for next weekend's clash with Argentina.