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

High 8.2 Published Updated

Attackers can hijack CocoaPods trunk sessions to take over accounts, manipulate pod specifications, and disrupt library distribution.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-38367?

CVE-2024-38367 is a high-severity authentication bypass vulnerability in CocoaPods, published on 1 Jul 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

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

Weakness: CWE-488

Which versions are affected by CVE-2024-38367?

It affects 1 product.

Products include Cocoapods Trunk.cocoapods.org.

How do I fix CVE-2024-38367?

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

Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.

Is CVE-2024-38367 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-38367 exists.

Sources

Also known as GHSA-52gf-m7v9-m333.

Is CVE-2024-38367 in your software?

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

Check your SBOMs for free