Vulnerability · Published Jul 1, 2024 · Assigned by GitHub_M
CVE-2024-38368Trunk's 'Claim your pod' could be used to obtain un-used pods
Critical 9.3
In plain English
A critical-severity security flaw in CocoaPods from CocoaPods. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 14.9% (higher than 97% of all known vulnerabilities).
Official description
trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. A vulnerability affected older pods which migrated from the pre-2014 pull request workflow to trunk. If the pods had never been claimed then it was still possible to do so. It was also possible to have all owners removed from a pod, and that made the pod available for the same claiming system. This was patched server-side in commit 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 in September 2023.
Affected products (as reported)
Weakness: CWE-668 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
References
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx x_refsource_CONFIRM
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 x_refsource_MISC
- https://blog.cocoapods.org/Claim-Your-Pods x_refsource_MISC
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023 x_refsource_MISC
- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods x_refsource_MISC