CVE-2022-24440

Source
https://nvd.nist.gov/vuln/detail/CVE-2022-24440
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-24440.json
Aliases
Published
2022-04-01T18:15:08Z
Modified
2023-11-29T09:30:28.999417Z
Details

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.

References

Affected packages

Git / github.com/cocoapods/cocoapods-downloader

Affected ranges

Type
GIT
Repo
https://github.com/cocoapods/cocoapods-downloader
Events
Introduced
0The exact introduced commit is unknown
Fixed

Affected versions

0.*

0.1.0
0.1.1
0.1.2
0.2.0
0.3.0
0.4.0
0.4.1
0.5.0
0.6.0
0.6.1
0.7.2
0.8.0
0.8.1
0.9.0
0.9.1
0.9.2
0.9.3

1.*

1.0.0
1.0.0.beta.1
1.0.0.beta.2
1.0.0.beta.3
1.0.0.rc.1
1.0.1
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
1.3.0
1.4.0
1.5.0
1.5.1

v0.*

v0.7.0
v0.7.1