# CVE-2024-38368: Trunk's 'Claim your pod' could be used to obtain un-used pods

Status: published. Published: 2024-07-01. Updated: 2026-11-03.

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.

## Remediation

- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: security-advisories@github.com) — https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: af854a3a-2127-422b-91ae-364da2661108) — https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4

## Affected products and versions

- CocoaPods / CocoaPods: < 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 (affected). Source: CNA: GitHub_M
- cocoapods / cocoapods: ≥ 0; < 71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 (affected, custom). Source: ADP: CISA-ADP

## NVD configuration conditions

Affected CPE matches depend on the following AND/OR and negation conditions:

```json
[
  {
    "negate": false,
    "nodes": [
      {
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:cocoapods:trunk.cocoapods.org:*:*:*:*:ruby:*:*:*",
            "versionEndExcluding": "2023-09-22",
            "vulnerable": true
          }
        ],
        "negate": false,
        "operator": "OR"
      }
    ],
    "operator": "OR"
  }
]
```

## Severity and prioritization

- CVSS 3.1: 9.3 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L; source: CNA: GitHub_M

- CVSS 3.1: 9.3 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L; source: NVD: nvd@nist.gov

- CVSS 3.1: 9.3 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 14.85% as of 2026-11-03; percentile 96.70%

- SSVC: exploitation none; automatable yes; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-668

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 (CNA: GitHub_M; x_refsource_MISC)

- https://blog.cocoapods.org/Claim-Your-Pods (CNA: GitHub_M; x_refsource_MISC)

- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023 (CNA: GitHub_M; x_refsource_MISC)

- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx (ADP: CVE; x_refsource_CONFIRM, x_transferred)

- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 (ADP: CVE; x_refsource_MISC, x_transferred)

- https://blog.cocoapods.org/Claim-Your-Pods (ADP: CVE; x_refsource_MISC, x_transferred)

- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023 (ADP: CVE; x_refsource_MISC, x_transferred)

- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods (ADP: CVE; x_refsource_MISC, x_transferred)

- https://blog.cocoapods.org/Claim-Your-Pods (security-advisories@github.com; Product)

- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023 (security-advisories@github.com; Vendor Advisory)

- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods (security-advisories@github.com; Third Party Advisory)

- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx (security-advisories@github.com; Third Party Advisory)

- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 (security-advisories@github.com; Patch)

- https://blog.cocoapods.org/Claim-Your-Pods (af854a3a-2127-422b-91ae-364da2661108; Product)

- https://blog.cocoapods.org/CocoaPods-Trunk-RCEs-2023 (af854a3a-2127-422b-91ae-364da2661108; Vendor Advisory)

- https://evasec.webflow.io/blog/eva-discovered-supply-chain-vulnerabities-in-cocoapods#1-taking-unauthorized-ownership-over-orphaned-pods (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

- https://github.com/CocoaPods/CocoaPods/security/advisories/GHSA-j483-qm5c-7hqx (af854a3a-2127-422b-91ae-364da2661108; Third Party Advisory)

- https://github.com/CocoaPods/trunk.cocoapods.org/commit/71be5440906b6bdfbc0bcc7f8a9fec33367ea0f4 (af854a3a-2127-422b-91ae-364da2661108; Patch)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2024-38368; retrieved 2026-11-03; source updated 2026-11-03

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-38368; retrieved 2026-11-04; source updated 2026-11-03

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2024-38368; retrieved 2026-11-03; source updated Not reported

Revision: 2685a582c6d4676126a94681c13fc2a45cac03ac145a6acbf44d193f96ca87cb

Canonical: https://y2.dev/cve/CVE-2024-38368

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.