Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2024-38366
cocoapods trunk.cocoapods.org

Score10 Critical
CVSS 3.1
Exploit probability (EPSS)2.4%
within the next 30 days
CategoryCode execution & injection
Published1 July 2024
Last modified: 17 June 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

The impact can spread beyond the vulnerable component.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

trunk.cocoapods.org is the authentication server for the CoacoaPods dependency manager. The part of trunk which verifies whether a user has a real email address on signup used a rfc-822 library which executes a shell command to validate the email domain MX records validity. It works via an DNS MX. This lookup could be manipulated to also execute a command on the trunk server, effectively giving root access to the server and the infrastructure. This issue was patched server-side with commit 001cc3a430e75a16307f5fd6cdff1363ad2f40f3 in September 2023. This RCE triggered a full user-session reset, as an attacker could have used this method to write to any Podspec in trunk.

CVSS: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Weakness: CWE-74

Affected products

VendorProductVersions
cocoapodstrunk.cocoapods.org<2023-09-22

Sources

Latest in the same category

  • CVE-2026-138430 Low 2.1
    A security vulnerability has been detected in BKWLD Decoy up to 5.11.1. The affected element is the function store of the file classes/Controllers/Redactor.php of the component Redactor. The manipulation leads to…
    Code execution & injection · 30 November 2026
  • CVE-2026-138428 Low 2
    A security flaw has been discovered in SourceCodester Real Estate Property Listing App 1.0. This issue affects some unknown processing of the file /index.php. Performing a manipulation of the argument property['title']…
    Code execution & injection · 30 November 2026
  • CVE-2026-56481 Low 3.5
    HCL Telco Observability is affected by an Improper Input Validation vulnerability in its UI and API, which could allow a remote attacker to submit crafted field values, enabling the injection of malicious input, query…
    Code execution & injection · 30 November 2026
  • CVE-2026-138423 Low 2
    A flaw has been found in youseries UReport up to 2.2.9. Affected is the function convertJson of the file ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java of the component Html…
    Code execution & injection · 30 November 2026
  • CVE-2026-138422 Low 2
    A vulnerability was detected in youseries UReport up to 2.2.9. This impacts an unknown function of the file html-preview.html of the component HTML Preview. Performing a manipulation of the argument _u results in HTML…
    Code execution & injection · 30 November 2026
  • CVE-2026-138421 Low 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Code execution & injection · 30 November 2026