CVE-2025-59433
Full vulnerability record from the local CVENow database.
Description
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.
View original CVE JSON
{
"id": "CVE-2025-59433",
"sourceIdentifier": "[email protected]",
"published": "2025-09-22T20:15:38.837",
"lastModified": "2026-10-19T16:10:00.260",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "Conventional Changelog genera changelogs y notas de lanzamiento a partir de los mensajes de commit y metadatos de un proyecto. Antes de la versión 2.0.0, @conventional-changelog/git-client tiene una vulnerabilidad de inyección de argumentos. Esta vulnerabilidad se manifiesta con la API getTags() de la biblioteca, que permite que se pasen parámetros adicionales al comando git log. En otra API de esta biblioteca, getRawCommits(), se toman prácticas seguras para asegurar que la ruta del parámetro adicional no pueda inyectar un argumento al finalizar el comando git log con la sintaxis especial de shell --. Sin embargo, la biblioteca no sigue la misma práctica para getTags() ya que no intenta sanear la entrada del usuario, validar los parámetros dados o restringirlos a una lista de permitidos. Tampoco pasa correctamente las banderas de línea de comandos al binario de git usando los caracteres POSIX de doble guion (--) para comunicar el fin de las opciones. Así, permitiendo a los usuarios explotar una vulnerabilidad de inyección de argumentos en Git debido a la opción de línea de comandos --output= que resulta en la sobrescritura de archivos arbitrarios. Este problema ha sido parcheado en la versión 2.0.0."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"vendor": "conventional-changelog",
"product": "conventional-changelog",
"versions": [
{
"version": "< 2.0.0",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:H",
"baseScore": 5.3,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "HIGH",
"userInteraction": "REQUIRED",
"scope": "UNCHANGED",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"availabilityImpact": "HIGH"
},
"exploitabilityScore": 0.5,
"impactScore": 4.7
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-09-22T19:41:46.095643Z",
"id": "CVE-2025-59433",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-88"
}
]
}
],
"references": [
{
"url": "https://github.com/conventional-changelog/conventional-changelog/commit/d95c9ffac05af58228bd89fa0ba37ad65741c6a2",
"source": "[email protected]"
},
{
"url": "https://github.com/conventional-changelog/conventional-changelog/security/advisories/GHSA-vh25-5764-9wcr",
"source": "[email protected]"
}
]
}