Paper/Archive/CVE-2024-38368

CVE-2024-38368

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

Description · from the CVE record

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

ProductAffectedFixed inSource
CocoaPods< 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4–CNA
cocoapods< 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f471be5440906b6bdfbc0bcc7f8a9fec33367ea0f4CISA-ADP

Scores by source

GitHub_M (CNA)9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
NVD9.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L
CISA ADPSSVCExploitation: none · Automatable: yes · Technical impact: partial

References

refgithub.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqxrefgithub.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4refblog.cocoapods.org/Claim-Your-Podsrefblog.cocoapods.org/CocoaPods-Trunk-RCEs-2023refevasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods