CVE-2022-24440

Command Injection

State
Published
Severity
8.1 High
Published
Apr 1, 2022
Updated
Sep 17, 2024
Reserved
Feb 24, 2022

Read the record on cve.org

Description

The package cocoapods-downloader before 1.6.0, from 1.6.2 and before 1.6.3 are vulnerable to Command Injection via git argument injection. When calling the Pod::Downloader.preprocess_options function and using git, both the git and branch parameters are passed to the git ls-remote subcommand in a way that additional flags can be set. The additional flags can be used to perform a command injection.

Scores

CVSSScoreVectorSource
3.18.1 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hsnyk

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
cocoapods-downloadern/a
  • before 1.6.0Affected
  • 1.6.2 to before unspecifiedAffected
  • before 1.6.3Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.