CVE-2014-9462
mercurial: command Injection via sshpeer._validaterepo()
Overview
Description
The _validaterepo function in sshpeer in Mercurial before 3.2.4 allows remote attackers to execute arbitrary commands via a crafted repository name in a clone command.
Source: OX vulnerability database
Severity
9.8 · HIGH
CVSS 3.1 base score, scored by GitHub.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality
- High
- Integrity
- High
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Weakness: CWE-20
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| PyPI | mercurial | <3.2.4 | 3.2.4 |
Open a package to see all its vulnerabilities.
Operating systems · 6 fixes
Red Hat 1 release · 1 package
wont fix 1
emacs-mercurial
| Release | Package | Fixed in |
|---|---|---|
| 7 | emacs-mercurial +3 | wont fix |
debian 4 releases · 1 package
fixed 4
mercurial
| Release | Package | Fixed in |
|---|---|---|
| 11 | mercurial | 3.4-1 |
| 12 | mercurial | 3.4-1 |
| 13 | mercurial | 3.4-1 |
| 14 | mercurial | 3.4-1 |
echo 1 release · 1 package
fixed 1
mercurial
| Release | Package | Fixed in |
|---|---|---|
| mercurial | 3.4-1 |
References
- chargen.matasano.com http://chargen.matasano.com/chargen/2015/3/17/this-new-vulnerability-mercurial-command-injection-cve-2014-9462.html
- lists.opensuse.org http://lists.opensuse.org/opensuse-updates/2015-03/msg00085.html
- mercurial.selenic.com http://mercurial.selenic.com/wiki/WhatsNew
- selenic.com http://selenic.com/hg/rev/e3f30068d2eb
- www.debian.org http://www.debian.org/security/2015/dsa-3257
- www.oracle.com http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- www.osvdb.org http://www.osvdb.org/119816
- access.redhat.com https://access.redhat.com/security/cve/CVE-2014-9462
- github.com https://github.com/pypa/advisory-database/tree/main/vulns/mercurial/PYSEC-2015-14.yaml
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2014-9462
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.