Cloudflare does not have any IPv4 blocks in North Korea. Geolocation databases use RIPE as the primary source and then make estimates using various tools.
They’re big and can just write the geoip provider and be like “hey we want to run this vpn service and still provide websites with accurate geoip data”