PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

Flaws in Open-Source Software Exposed 'Almost Every Apple Device' to Hacking

The vulnerabilities were discovered in an open-source software project called CocoaPods, which is widely used to help operate iOS apps.

 & Michael Kan Principal Reporter

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS
(Credit: MirageC via Getty Images)

Yikes: Security researchers have discovered vulnerabilities in an open-source software project that could have been exploited to hack thousands of iOS and macOS apps. 

The threat involves CocoaPods, which programmers use to incorporate existing software libraries into their apps. But it currently contains three serious vulnerabilities—including a decade-old flaw—which can be exploited to secretly introduce malicious code into apps that rely on CocoaPods. 

The threat is especially alarming since CocoaPods says it's used in over 3 million apps. “Such an attack on the mobile app ecosystem could infect almost every Apple device, leaving thousands of organizations vulnerable to catastrophic financial and reputational damage,” warns researchers at Israel-based E.V.A. Information Security.

(Credit: E.V.A. Information Security)

Of the three, the most serious flaw is CVE-2024-38366, which created a way for hackers to take over unclaimed software packages, known as Pods, without going through any “ownership verification process,” the security firm says. 

“At this point, the attacker would be able to manipulate the source code or insert malicious content into the newly claimed Pod. This pod would then go on to infect many downstream dependencies,” E.V.A. Information Security adds. 

The good news is that all three vulnerabilities were patched after E.V.A. Information Security reported the threat to CocoaPods. The fixes include “wiping all session keys” to prevent any unauthorized users from making code updates. 

Still, the developers of CocoaPods can’t say for sure if hackers ever exploited the flaws to secretly make changes to any affected apps. “This touches code which has been in trunk (the centralized repository for CocoaPods) since launch, and 9 years is a long time,” a project maintainer for CocoaPods wrote in a blog post.  

The news underscores how vulnerable open-source software can risk impacting an entire software ecosystem, like it did with the Apache Log4j 2 flaw in 2021. It doesn’t help that open-source projects are usually maintained with the help of volunteer programmers, leaving them more exposed to potential hacking.

In response, both Google and the White House have been pushing for a greater effort to secure open-source software projects. E.V.A. Information Security is now urging the tech industry to increase oversight of open-source tools like CocoaPods.

“While adoption of open source is practically inevitable, it also increases the risk of software supply chain attacks,” the security firm warns. Their blog post includes tips that CocoaPods users can take to ensure their code remains safe to use.

About Our Expert

Michael Kan

Michael Kan

Principal Reporter

My Experience

I've been a journalist for over 15 years. I got my start as a schools and cities reporter in Kansas City and joined PCMag in 2017, where I cover satellite internet services, cybersecurity, PC hardware, and more. I'm currently based in San Francisco, but previously spent over five years in China, covering the country's technology sector.

Since 2020, I've covered the launch and explosive growth of SpaceX's Starlink satellite internet service, writing 600+ stories on availability and feature launches, but also the regulatory battles over the expansion of satellite constellations, fights with rival providers like AST SpaceMobile and Amazon, and the effort to expand into satellite-based mobile service. I've combed through FCC filings for the latest news and driven to remote corners of California to test Starlink's cellular service.

I also cover cyber threats, from ransomware gangs to the emergence of AI-based malware. In 2024 and 2025, the FTC forced Avast to pay consumers $16.5 million for secretly harvesting and selling their personal information to third-party clients, as revealed in my joint investigation with Motherboard.

I also cover the PC graphics card market. Pandemic-era shortages led me to camp out in front of a Best Buy to get an RTX 3000. I'm now following how the AI-driven memory shortage is impacting the entire consumer electronics market. I'm always eager to learn more, so please jump in the comments with feedback and send me tips.

The Best Tech I've Had:

  • My first video game console: a Nintendo Famicom
  • I loved my Sega Saturn despite PlayStation's popularity.
  • The iPod Video I received as a gift in college
  • Xbox 360 FTW
  • The Galaxy Nexus was the first smartphone I was proud to own.
  • The PC desktop I built in 2013, which still works to this day.

Read full bio