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

Critical 9.3 Published Updated

Attackers could claim unowned or ownerless CocoaPods packages, allowing them to take control of the package and potentially distribute malicious code.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-38368?

CVE-2024-38368 is a critical missing authorization vulnerability in CocoaPods, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-668

Which versions are affected by CVE-2024-38368?

It affects 1 product.

Products include Cocoapods Trunk.cocoapods.org.

How do I fix CVE-2024-38368?

No fix has been published for CVE-2024-38368 yet. Limit exposure of the affected software until one is available.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2024-38368 being exploited?

There is no known exploitation of CVE-2024-38368 in the wild and no public exploit code.

Sources

Also known as GHSA-j483-qm5c-7hqx.

Is CVE-2024-38368 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free