{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2024-38368 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2024-38368 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2024-38368 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2024-38368 in the wild and no public exploit code.\n\nAffected product: CocoaPods. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-38368/ (Markdown: https://insights.sbomify.com/CVE-2024-38368/index.md)","id":"CVE-2024-38368","markdown":"https://insights.sbomify.com/CVE-2024-38368/index.md","name":"CVE-2024-38368","record":{"aliases":["GHSA-j483-qm5c-7hqx"],"analysis":{"component_type":"cloud_service","fix_type":"patch","impacts":["account_takeover","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"CocoaPods authentication server","requires_auth":"none","summary":"Attackers could claim unowned or ownerless CocoaPods packages, allowing them to take control of the package and potentially distribute malicious code.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"trunk.cocoapods.org","vendor":"cocoapods"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:L","version":"3.1"},"cwes":[{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"Trunk's 'Claim your pod' could be used to obtain un-used pods","id":"CVE-2024-38368","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"missing_authorization","year":"2024"},"n_packages":0,"n_references":5,"next":{"headline":"XWiki programming rights may be inherited by inclusion","id":"CVE-2024-38369"},"packages":[],"prev":{"headline":"CoacoaPods trunk sessions verification step could be manipulated for owner session hijacking","id":"CVE-2024-38367"},"products":["CocoaPods"],"published":"2024-07-01","related":[{"cvss_score":10,"headline":"CoacoaPods trunk RCE in email verification system rfc-822","id":"CVE-2024-38366","kev_date_added":null,"published":"2024-07-01"},{"cvss_score":8.2,"headline":"CoacoaPods trunk sessions verification step could be manipulated for owner session hijacking","id":"CVE-2024-38367","kev_date_added":null,"published":"2024-07-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["CocoaPods"]},"summary":"Attackers could claim unowned or ownerless CocoaPods packages, allowing them to take control of the package and potentially distribute malicious code.","url":"https://insights.sbomify.com/CVE-2024-38368/"}