Katalog CVE

CVE-2025-59433

ŚrednieCVSS 5.3
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.22%

Percentyl 11 - wyżej niż 11% wszystkich znanych CVE

Streszczenie

W @conventional-changelog/git-client przed wersją 2.0.0 istnieje podatność na wstrzyknięcie argumentów w API getTags(), które pozwala na przekazanie dodatkowych parametrów do polecenia git log. Może to prowadzić do nadpisania dowolnych plików poprzez opcję --output=.

Ocena ryzyka

Atakujący może wykorzystać podatność do nadpisania plików w systemie, co może prowadzić do utraty danych lub wykonania złośliwego kodu.

Rekomendacja

Zaktualizuj pakiet @conventional-changelog/git-client do wersji 2.0.0 lub nowszej.

Powiązane podatności

Oryginalny opis (angielski, źródło NVD)

Conventional Changelog generates changelogs and release notes from a project's commit messages and metadata. Prior to version 2.0.0, @conventional-changelog/git-client has an argument injection vulnerability. This vulnerability manifests with the library's getTags() API, which allows extra parameters to be passed to the git log command. In another API by this library, getRawCommits(), there are secure practices taken to ensure that the extra parameter path is unable to inject an argument by ending the git log command with the special shell syntax --. However, the library does not follow the same practice for getTags() as it does not attempt to sanitize for user input, validate the given params, or restrict them to an allow list. Nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options. Thus, allowing users to exploit an argument injection vulnerability in Git due to the --output= command-line option that results with overwriting arbitrary files. This issue has been patched in version 2.0.0.

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS