CVE-2025-59433
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
@conventional-changelog/git-clientnpm | < 2.0.0 | 2.0.0 |
Affected products
2- Range: conventional-changelog-angular@1.3.1, conventional-changelog-angular@1.3.2, conventional-changelog-angular@1.3.3, …
Patches
Vulnerability mechanics
References
4- github.com/advisories/GHSA-vh25-5764-9wcrghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2025-59433ghsaADVISORY
- github.com/conventional-changelog/conventional-changelog/commit/d95c9ffac05af58228bd89fa0ba37ad65741c6a2nvdWEB
- github.com/conventional-changelog/conventional-changelog/security/advisories/GHSA-vh25-5764-9wcrnvdWEB
News mentions
0No linked articles in our index yet.