CVE-2017-1000115
published 2017-10-05CVE-2017-1000115: Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
high7.5CVSS 3.0
AVNACLPRNUINSUCNIHAN
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
Affected
21 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | debian_linux | — | — |
| debian | debian_linux | — | — |
| debian | mercurial | < mercurial 4.3.1-1 (bookworm) | mercurial 4.3.1-1 (bookworm) |
| memcached | memcached | >= 0 < 1.4.14-0ubuntu9.2 | 1.4.14-0ubuntu9.2 |
| memcached | memcached | >= 0 < 1.4.25-2ubuntu1.3 | 1.4.25-2ubuntu1.3 |
| mercurial | mercurial | < 4.3 | 4.3 |
| mercurial | mercurial | >= 0 < 4.3.1-1 | 4.3.1-1 |
| mercurial | mercurial | >= 0 < 4.3.1-1 | 4.3.1-1 |
| mercurial | mercurial | >= 0 < 4.3.1-1 | 4.3.1-1 |
| mercurial | mercurial | >= 0 < 4.3.1-1 | 4.3.1-1 |
| mercurial | mercurial | >= 0 < 4.3.1 | 4.3.1 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_server_tus | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
osv7.5HIGH
GHSA
Mercurial missing symlink check
ghsa·2022-05-14
CVE-2017-1000115 [HIGH] CWE-59 Mercurial missing symlink check
Mercurial missing symlink check
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
OSV
Mercurial missing symlink check
osv·2022-05-14
CVE-2017-1000115 [HIGH] Mercurial missing symlink check
Mercurial missing symlink check
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
OSV
memcached vulnerabilities
osv·2018-03-05·CVSS 7.5
CVE-2017-9951 memcached vulnerabilities
memcached vulnerabilities
Daniel Shapira discovered an integer overflow issue in Memcached. A remote
attacker could use this to cause a denial of service (daemon crash).
(CVE-2017-9951)
It was discovered that Memcached listened to UDP by default. A remote
attacker could use this as part of a distributed denial of service attack.
(CVE-2018-1000115)
OSV
CVE-2017-1000115: Mercurial prior to version 4
osv·2017-10-05·CVSS 7.5
CVE-2017-1000115 [HIGH] CVE-2017-1000115: Mercurial prior to version 4
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
Red Hat
Mercurial: pathaudit: path traversal via symlink
vendor_redhat·2017-08-10·CVSS 7.5
CVE-2017-1000115 [HIGH] CWE-22 Mercurial: pathaudit: path traversal via symlink
Mercurial: pathaudit: path traversal via symlink
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
A vulnerability was found in the way Mercurial handles path auditing and caches the results. An attacker could abuse a repository with a series of commits mixing symlinks and regular files/directories to trick Mercurial into writing outside of a given repository.
Package: mercurial (Red Hat Enterprise Linux 6) - Will not fix
Debian
CVE-2017-1000115: mercurial - Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can...
vendor_debian·2017·CVSS 7.5
CVE-2017-1000115 [HIGH] CVE-2017-1000115: mercurial - Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can...
Mercurial prior to version 4.3 is vulnerable to a missing symlink check that can malicious repositories to modify files outside the repository
Scope: local
bookworm: resolved (fixed in 4.3.1-1)
bullseye: resolved (fixed in 4.3.1-1)
forky: resolved (fixed in 4.3.1-1)
sid: resolved (fixed in 4.3.1-1)
trixie: resolved (fixed in 4.3.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2017-1000115 Mercurial: path traversal via symlink [fedora-all]
bugzilla·2017-08-11·CVSS 7.5
CVE-2017-1000115 [HIGH] CVE-2017-1000115 Mercurial: path traversal via symlink [fedora-all]
CVE-2017-1000115 Mercurial: path traversal via symlink [fedora-all]
Use the following template to for the 'fedpkg update' request to submit an
update for this issue as it contains the top-level parent bug(s) as well as
this tracking bug. This will ensure that all associated bugs get updated
when new packages are pushed to stable.
# bugfix, security, enhancement, newpackage (required)
type=security
# testing, stable
request=testing
# Bug numbers: 1234,9876
bugs=1480330
# Description of your update
notes=Security fix for [PUT CVEs HERE]
# Enable request automation based on the stable/unstable karma thresholds
autokarma=True
stable_karma=3
unstable_karma=-3
# Automatically close bugs when this marked as stable
close_bugs=True
# Suggest that users restart after update
suggest_reboot=F
Bugzilla
CVE-2017-1000115 Mercurial: pathaudit: path traversal via symlink
bugzilla·2017-08-10·CVSS 7.5
CVE-2017-1000115 [HIGH] CVE-2017-1000115 Mercurial: pathaudit: path traversal via symlink
CVE-2017-1000115 Mercurial: pathaudit: path traversal via symlink
The symlink auditor is sometimes cached too long, and can be confused into allowing write access to outside the repo.
Discussion:
External References:
https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29
---
Acknowledgments:
Name: the Mercurial Security Team
---
Created mercurial tracking bugs for this issue:
Affects: fedora-all [bug 1480454]
---
This issue has been addressed in the following products:
Red Hat Enterprise Linux 7
Via RHSA-2017:2489 https://access.redhat.com/errata/RHSA-2017:2489
http://www.debian.org/security/2017/dsa-3963http://www.securityfocus.com/bid/100290https://access.redhat.com/errata/RHSA-2017:2489https://security.gentoo.org/glsa/201709-18https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29http://www.debian.org/security/2017/dsa-3963http://www.securityfocus.com/bid/100290https://access.redhat.com/errata/RHSA-2017:2489https://security.gentoo.org/glsa/201709-18https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.3_.2F_4.3.1_.282017-08-10.29
2017-10-05
Published