{"id":"USN-5102-2","summary":"mercurial vulnerabilities","details":"USN-5102-1 fixed vulnerabilities in Mercurial. This update provides the\ncorresponding updates for Ubuntu 14.04 ESM and Ubuntu 16.04 ESM.\n\nOriginal advisory details:\n\n It was discovered that Mercurial mishandled symlinks in subrepositories. An\n attacker could use this issue to write arbitrary files to the\n target’s filesystem. (CVE-2019-3902)\n\n It was discovered that Mercurial incorrectly handled certain manifest files.\n An attacker could use this issue to cause a denial of service and possibly\n execute arbitrary code. This issue only affected Ubuntu 16.04 ESM. (CVE-2018-17983)\n","modified":"2026-02-10T04:42:20Z","published":"2021-03-16T20:09:04Z","related":["UBUNTU-CVE-2018-17983","UBUNTU-CVE-2019-3902"],"upstream":["CVE-2018-17983","CVE-2019-3902","UBUNTU-CVE-2018-17983","UBUNTU-CVE-2019-3902"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-5102-2"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-17983"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2019-3902"}],"affected":[{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:14.04:LTS","purl":"pkg:deb/ubuntu/mercurial@2.8.2-1ubuntu1.4+esm1?arch=source&distro=trusty/esm"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.8.2-1ubuntu1.4+esm1"}]}],"versions":["2.6.3-1","2.7.2-1","2.8.1-2","2.8.2-1ubuntu1","2.8.2-1ubuntu1.3","2.8.2-1ubuntu1.4"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro","binaries":[{"binary_version":"2.8.2-1ubuntu1.4+esm1","binary_name":"mercurial"},{"binary_version":"2.8.2-1ubuntu1.4+esm1","binary_name":"mercurial-common"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2019-3902","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:14.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5102-2.json"}},{"package":{"name":"mercurial","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/mercurial@3.7.3-1ubuntu1.2+esm2?arch=source&distro=esm-apps/xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.7.3-1ubuntu1.2+esm2"}]}],"versions":["3.4-1ubuntu2","3.6.2-1ubuntu2","3.7.3-1ubuntu1","3.7.3-1ubuntu1.1","3.7.3-1ubuntu1.2"],"ecosystem_specific":{"availability":"Available with Ubuntu Pro: https://ubuntu.com/pro","binaries":[{"binary_version":"3.7.3-1ubuntu1.2+esm2","binary_name":"mercurial"},{"binary_version":"3.7.3-1ubuntu1.2+esm2","binary_name":"mercurial-common"}]},"database_specific":{"cves_map":{"cves":[{"id":"CVE-2019-3902","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"medium"}]}],"ecosystem":"Ubuntu:Pro:16.04:LTS"},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-5102-2.json"}}],"schema_version":"1.7.3"}