Advisory

GHSA-pr45-cg4x-ff4m

Also known as: CVE-2024-21533

Summary

ggit is vulnerable to Arbitrary Argument Injection via the clone() API

Details

All versions of the package ggit are vulnerable to Arbitrary Argument Injection via the clone() API, which allows specifying the remote URL to clone and the file on disk to clone to. The library does not sanitize for user input or validate a given URL scheme, nor does it properly pass command-line flags to the git binary using the double-dash POSIX characters (--) to communicate the end of options.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-08 06:30 UTC
Modified
2025-09-18 23:34 UTC

Affected packages and fixes

ggit

npm · All systems

Affected

  • introduced 0, last affected 2.4.12 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences