CVE-2022-21223
Last modified
CVE-2022-21223 is a critical-severity vulnerability rated 9.8/10 on the CVSS scale. The package cocoapods-downloader before 1.6.2 are vulnerable to Command Injection via hg argument injection. When calling the download function (when using hg), the url (and/or revision, tag, branch) is passed to the hg clone command in a way that additional flags can be set. EPSS estimates a 1.78% chance of exploitation in the next 30 days.
Description
The package cocoapods-downloader before 1.6.2 are vulnerable to Command Injection via hg argument injection. When calling the download function (when using hg), the url (and/or revision, tag, branch) is passed to the hg clone command in a way that additional flags can be set. The additional flags can be used to perform a command injection.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cocoapods | Cocoapods-Downloader | < 1.6.2 |
References
- https://github.com/CocoaPods/cocoapods-downloader/pull/127Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280Third Party Advisory
- https://github.com/CocoaPods/cocoapods-downloader/pull/127Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-RUBY-COCOAPODSDOWNLOADER-2414280Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-21223?
How severe is CVE-2022-21223?
How do I fix CVE-2022-21223?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-21218Uncaught exception in the Intel(R) Trace Analyzer and Collec…5.5
- CVE-2022-21219Out-of-bounds read vulnerability in CX-Programmer v9.76.1 an…7.8
- CVE-2022-2122DOS / potential heap overwrite in qtdemux using zlib decompr…7.8
- CVE-2022-21220Improper restriction of XML external entity for Intel(R) Qua…7.8
- CVE-2022-21221The package github.com/valyala/fasthttp before 1.34.0 are vu…7.5
- CVE-2022-21222The package css-what before 2.1.3 are vulnerable to Regular …7.5
- CVE-2022-21224Rejected reason: This candidate was in a CNA pool that was n…
- CVE-2022-21225Improper neutralization in the Intel(R) Data Center Manager …8
- CVE-2022-21226Out-of-bounds read in the Intel(R) Trace Analyzer and Collec…5.5
- CVE-2022-21227The package sqlite3 before 5.0.3 are vulnerable to Denial of…7.5
- CVE-2022-21228The affected product is vulnerable to a stack-based buffer o…7.8
- CVE-2022-21229Improper buffer restrictions for some Intel(R) NUC 9 Extreme…7.8
Are you affected by CVE-2022-21223?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
