CocoaPods vulnerabilities highlight risks in dependency managers
Blog post from Semgrep
CocoaPods, a popular dependency manager for Swift and Objective-C projects, faced significant security challenges due to three critical vulnerabilities identified by E.V.A Information Security researchers. These vulnerabilities included unauthorized ownership over orphaned Pods, remote code execution on the CocoaPods 'Trunk' server, and zero-click account takeover by exploiting email security boundaries, all of which posed serious risks of injecting malicious code into applications relying on CocoaPods. Such vulnerabilities threatened the security of both developers' applications and end-users by potentially leading to data breaches and unauthorized access. The identified vulnerabilities were addressed and remediated by October 2023, though it remains uncertain whether they had been previously exploited by malicious actors. This situation underscores the need for ongoing support and improvements in the security infrastructure of dependency managers like CocoaPods to maintain the trust and integrity of applications.