Security mailing lists by PureSourceCode

CVE-2024-21532

HIGH 7.3CVSS 3.1

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

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.

Published
8 Oct 2024
Last modified
17 Jun 2026
Assigned by
report@snyk.io
NVD status
Deferred
Weakness
CWE-78
Also known as
GHSA-62cx-5xj4-wfm4
Sources
NVDJSONOSV GHSA-62cx-5xj4-wfm4JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
NVD report@snyk.io (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
OSV GitHub CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV npm ggit <= 2.4.12

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 8 Oct 2024)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 8 Oct 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.