CVE-2017-1000116

Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks

published October 4, 2017

CVSS
—
EPSS
6%
Percentile
93.6
In the wild
Unconfirmed
What it is

⚠️ An overlooked detail in Mercurial’s hostname processing could let attackers slip in some nasty commands! 🚨 Think of it like allowing a guest to write their name on a guestbook without checking for any harmful messages — you never know what they might add. In this case, the hostname could lead to unwanted shell commands being executed on your system! If an attacker exploits this vulnerability, they could inject arbitrary shell commands, potentially leading to unauthorized access or control over your system. Imagine someone sneaking in a dangerous note that could change the whole event's vibe!

Put simply

Think of it like allowing a guest to write their name on a guestbook without checking for any harmful messages — you never know what they might add. In this case, the hostname could lead to unwanted shell commands being executed on your system! This vulnerability in Mercurial versions prior to 4.3 stems from inadequate sanitization of hostnames passed to SSH, which can be exploited for shell-injection attacks.

What to do

If an attacker exploits this vulnerability, they could inject arbitrary shell commands, potentially leading to unauthorized access or control over your system. Imagine someone sneaking in a dangerous note that could change the whole event's vibe! To protect your systems, upgrade to Mercurial version 4.3 or later immediately. Additionally, review your SSH configuration to ensure it only accepts safe and verified hostnames. 🔒 You've got this! Stay vigilant and patch your systems to keep those sneaky attackers at bay! 🛡️

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.06368 · 93.6th percentile
Published
2017-10-04T01:00Z
EPSS history
Timeline
  • 04 OCT 01:00Z
    Mercurial prior to 4.3 did not adequately sanitize hostnames passed to ssh, leading to possible shell-injection attacks
    cvelistv5