It seems Pakistan supplied some ammo to the UK which was then shipped to Ukraine: Pakistan, Ukraine, And The Race For Third-Party Ammunition (thedrive.com)
South Korea is not the only potential non-NATO supplier to NATO countries: South Africa also has manufacturing capabilities, and a contract was signed in July to produce 155mm shells for a NATO customer: Major order from NATO customer: Rheinmetall supplying 155mm artillery ammunition in the upper-two-digit million-euro range - EDR MagazineBeginning on August 6, open-source intelligence began to reveal that a U.K. Royal Air Force (RAF) C-17 Globemaster III aircraft (serial ZZ143) was conducting almost daily flights from Romania’s Cluj International Airport or RAF Akrotiri in Cyprus to Pakistan’s Nur Khan Air Base. This development came days after Britain announced it would be supplying Ukraine with more than 50,000 Soviet-type artillery shells. Over the course of 15 days, the C-17 Pakistan-Romania airlift effort completed a total of 12 trips, leading many analysts to assume that the United Kingdom was transporting military supplies for the Ukrainians. No flights have been tracked between these destinations since August 22.