Advisory

GHSA-62cx-5xj4-wfm4

Also known as: CVE-2024-21532

Summary

ggit is vulnerable to Command Injection via the fetchTags(branch) API

Details

All versions of the package ggit are vulnerable to Command Injection via the fetchTags(branch) API, which allows user input to specify the branch to be fetched and then concatenates this string along with a git command which is then passed to the unsafe exec() Node.js child process API.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-10-08 06:30 UTC
Modified
2024-10-08 15:12 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