{"id":"CVE-2019-3902","state":"PUBLISHED","title":"A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.","description":"A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository.","publishedAt":"2019-04-22T15:29:13.000Z","updatedAt":"2024-08-04T19:26:26.699Z","severity":{"score":5.1,"label":"Medium","version":"3.0","vector":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","source":"redhat"},"assigner":"redhat","products":["The Mercurial Project mercurial"],"affected":[{"vendor":"The Mercurial Project","product":"mercurial","versions":[{"version":"before 4.9","status":"affected"}]}],"references":["https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html","https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","https://usn.ubuntu.com/4086-1/","https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T19:45:59.128Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2019/3xxx/CVE-2019-3902.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2019-3902","state":"PUBLISHED","datePublished":"2019-04-22T15:29:13.000Z","dateUpdated":"2024-08-04T19:26:26.699Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2019-01-03T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository."}],"affected":[{"vendor":"The Mercurial Project","product":"mercurial","versions":[{"version":"before 4.9","status":"affected"}]}],"references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","tags":["x_refsource_CONFIRM"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html","name":"[debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security update","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","tags":["x_refsource_MISC"]},{"url":"https://usn.ubuntu.com/4086-1/","name":"USN-4086-1","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","name":"[debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update","tags":["mailing-list","x_refsource_MLIST"]}],"metrics":[{"cvssV3_0":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"NONE","baseScore":5.1,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2020-07-31T12:06:06.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2019-3902","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"mercurial","version":{"version_data":[{"version_value":"before 4.9"}]}}]},"vendor_name":"The Mercurial Project"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"A flaw was found in Mercurial before 4.9. It was possible to use symlinks and subrepositories to defeat Mercurial's path-checking logic and write files outside a repository."}]},"impact":{"cvss":[[{"vectorString":"5.1/CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","version":"3.0"}]]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","refsource":"CONFIRM","url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902"},{"name":"[debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html"},{"name":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","refsource":"MISC","url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29"},{"name":"USN-4086-1","refsource":"UBUNTU","url":"https://usn.ubuntu.com/4086-1/"},{"name":"[debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update","refsource":"MLIST","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html","name":"[debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://usn.ubuntu.com/4086-1/","name":"USN-4086-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","name":"[debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-04T19:26:26.699Z"}}]}}}