Sorry, I didn't mean UPC, I meant serial number. You can generate unique, nearly impossible to guess serial numbers using all kinds of methods without any need for a blockchain.
Then anyone can query against that database to verify if a product is legitimate.
At the end of the day... we know these things get leaked anyway...