GHSA-62CX-5XJ4-WFM4
Vulnerability from github – Published: 2024-10-08 06:30 – Updated: 2024-10-08 14:38
VLAI
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
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "ggit"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "2.4.12"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2024-21532"
],
"database_specific": {
"cwe_ids": [
"CWE-78"
],
"github_reviewed": true,
"github_reviewed_at": "2024-10-08T14:38:48Z",
"nvd_published_at": "2024-10-08T05:15:13Z",
"severity": "MODERATE"
},
"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.",
"id": "GHSA-62cx-5xj4-wfm4",
"modified": "2024-10-08T14:38:48Z",
"published": "2024-10-08T06:30:47Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-21532"
},
{
"type": "WEB",
"url": "https://gist.github.com/lirantal/d8f87b366d2078e6118ab7bf2b005f02"
},
{
"type": "PACKAGE",
"url": "https://github.com/bahmutov/ggit"
},
{
"type": "WEB",
"url": "https://security.snyk.io/vuln/SNYK-JS-GGIT-5731320"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "ggit is vulnerable to Command Injection via the fetchTags(branch) API"
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
Loading…