What’s Vulnerable › Vulnerabilities
CVE-2024-38367: CoacoaPods trunk sessions verification step could be manipulated for owner session hijacking
- Severity: critical (CVSS 9.6 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 11.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-07-01 · updated 2026-06-17
- Weakness: CWE-488
Description
trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. Prior to commit d4fa66f49cedab449af9a56a21ab40697b9f7b97, the trunk sessions verification step could be manipulated for owner session hijacking Compromising a victim’s session will result in a full takeover of the CocoaPods trunk account. The threat actor could manipulate their pod specifications, disrupt the distribution of legitimate libraries, or cause widespread disruption within the CocoaPods ecosystem. This was patched server-side with commit d4fa66f49cedab449af9a56a21ab40697b9f7b97 in October 2023.
Affected products
- CocoaPods: before 2023-10-27 — fixed in 2023-10-27
How to fix
Upgrade to a fixed version: CocoaPods 2023-10-27. Check the vendor advisory for mitigations.
References
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023
- https://evasec.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#vulnerability-3-achieving-zero-click-account-takeover-by-defeating-email-security-boundaries
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-52gf-m7v9-m333
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/d4fa66f49cedab449af9a56a21ab40697b9f7b97
- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023
- https://evasec.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#vulnerability-3-achieving-zero-click-account-takeover-by-defeating-email-security-boundaries
- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-52gf-m7v9-m333
- https://github.com/CocoaPods/trunk.cocoapods.org/commit/d4fa66f49cedab449af9a56a21ab40697b9f7b97
Get alerted when CVE-2024-38367 or the next vulnerability affects your stack