CVE-2024-38368CWE-668

Trunk's 'Claim your pod' could be used to obtain un-used pods

Critical · published July 1, 2024

CVSS v3.1
9.3
EPSS
15%
Percentile
96.7
In the wild
Unconfirmed
What it is

🚨 If you’re still using older CocoaPods, beware! A sneaky vulnerability allows unclaimed pods to be claimed by anyone, like squatters taking over vacant lots. 🔥 Think of it like a restaurant with a booking system. If nobody ever claimed a reservation, anyone could walk in and assume that table as their own. This vulnerability lets attackers remove legitimate owners from their pods and claim them, just like that! An attacker could essentially hijack any unclaimed pod on the CocoaPods server, gaining unauthorized access and control over potentially critical dependencies. This could lead to malicious code injection or the theft of sensitive data from unsuspecting developers, making it an absolutely devastating threat!

Put simply

Think of it like a restaurant with a booking system. If nobody ever claimed a reservation, anyone could walk in and assume that table as their own. This vulnerability lets attackers remove legitimate owners from their pods and claim them, just like that! This vulnerability affects older CocoaPods that migrated from the pre-2014 workflow, allowing attackers to claim unregistered pods and remove existing owners, creating a loophole in the authentication mechanism.

What to do

An attacker could essentially hijack any unclaimed pod on the CocoaPods server, gaining unauthorized access and control over potentially critical dependencies. This could lead to malicious code injection or the theft of sensitive data from unsuspecting developers, making it an absolutely devastating threat! Update your CocoaPods to the latest version to ensure you’re using the patched server-side fix from September 2023 (commit 71be544090). Review your existing pods for any unclaimed entries and take ownership where necessary to prevent unauthorized claims. 🛡️ You've got this! By taking quick action, you'll help secure your projects and protect the CocoaPods community from potential threats! 🚀

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
CVSS v4.0
Not supplied
EPSS
0.14851 · 96.7th percentile
Weakness
CWE-668 · Exposure of Resource to Wrong Sphere
Published
2024-07-01T21:05Z
EPSS history
Timeline
  • 01 JUL 21:05Z
    Trunk's 'Claim your pod' could be used to obtain un-used pods
    cvelistv5