Security mailing lists by PureSourceCode

CVE-2019-10776

CRITICAL 9.8CVSS 3.1

OS command injection in git-diff-apply

In "index.js" file line 240, the run command executes the git command with a user controlled variable called remoteUrl. This affects git-diff-apply all versions prior to 0.22.2.

Published
7 Jan 2020
Last modified
2 Dec 2026
Assigned by
report@snyk.io
NVD status
Modified
Weakness
CWE-78
Also known as
GHSA-84cm-v6jp-gjmrSNYK-JS-GITDIFFAPPLY-540774
Sources
NVDJSONOSV GHSA-84cm-v6jp-gjmrJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 CRITICAL 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 HIGH 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD git-diff-apply_project git-diff-apply
cpe:2.3:a:git-diff-apply_project:git-diff-apply:*:*:*:*:*:*:*:*
< 0.22.2 0.22.2
OSV npm git-diff-apply < 0.22.2 0.22.2

References

History

  • 2 Dec 2026 07:23 UTC · OSV: updated (other details)
  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 7 Jan 2020)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 14 Feb 2020)
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.