{"api_version":"1","generated_at":"2026-04-22T23:29:27+00:00","cve":"CVE-2019-3902","urls":{"html":"https://cve.report/CVE-2019-3902","api":"https://cve.report/api/cve/CVE-2019-3902.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2019-3902","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2019-3902"},"summary":{"title":"CVE-2019-3902","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.","state":"PUBLIC","assigner":"secalert@redhat.com","published_at":"2019-04-22 16:29:00","updated_at":"2020-07-31 13:15:00"},"problem_types":["CWE-59"],"metrics":[],"references":[{"url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html","name":"[debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update","refsource":"MLIST","tags":[],"title":"[SECURITY] [DLA 2293-1] mercurial security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","refsource":"CONFIRM","tags":["Issue Tracking","Vendor Advisory"],"title":"1696025 – (CVE-2019-3902) CVE-2019-3902 mercurial: Path-checking logic bypass via symlinks and subrepositories","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","name":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","refsource":"MISC","tags":["Third Party Advisory"],"title":"WhatsNew - Mercurial","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html","name":"[debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security update","refsource":"MLIST","tags":["Third Party Advisory"],"title":"[SECURITY] [DLA 1764-1] mercurial security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://usn.ubuntu.com/4086-1/","name":"USN-4086-1","refsource":"UBUNTU","tags":[],"title":"USN-4086-1: Mercurial vulnerability | Ubuntu security notices | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2019-3902","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-3902","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2019","cve_id":"3902","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"3902","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"8.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"3902","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mercurial","cpe5":"mercurial","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"3902","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"mercurial","cpe5":"mercurial","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"3902","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2019","cve_id":"3902","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"redhat","cpe5":"enterprise_linux","cpe6":"7.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2019-3902","qid":"198582","title":"Ubuntu Security Notification for Mercurial Vulnerabilities (USN-5102-1)"},{"cve":"CVE-2019-3902","qid":"500402","title":"Alpine Linux Security Update for mercurial"}]},"source_records":{"cve_program":{"data_type":"CVE","data_format":"MITRE","data_version":"4.0","CVE_data_meta":{"ID":"CVE-2019-3902","ASSIGNER":"secalert@redhat.com","STATE":"PUBLIC"},"affects":{"vendor":{"vendor_data":[{"vendor_name":"The Mercurial Project","product":{"product_data":[{"product_name":"mercurial","version":{"version_data":[{"version_value":"before 4.9"}]}}]}}]}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22"}]}]},"references":{"reference_data":[{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","name":"https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-3902","refsource":"CONFIRM"},{"refsource":"MLIST","name":"[debian-lts-announce] 20190425 [SECURITY] [DLA 1764-1] mercurial security update","url":"https://lists.debian.org/debian-lts-announce/2019/04/msg00024.html"},{"refsource":"MISC","name":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29","url":"https://www.mercurial-scm.org/wiki/WhatsNew#Mercurial_4.9_.282019-02-01.29"},{"refsource":"UBUNTU","name":"USN-4086-1","url":"https://usn.ubuntu.com/4086-1/"},{"refsource":"MLIST","name":"[debian-lts-announce] 20200731 [SECURITY] [DLA 2293-1] mercurial security update","url":"https://lists.debian.org/debian-lts-announce/2020/07/msg00032.html"}]},"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"}]]}},"nvd":{"publishedDate":"2019-04-22 16:29:00","lastModifiedDate":"2020-07-31 13:15:00","problem_types":["CWE-59"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.0","vectorString":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM"},"exploitabilityScore":2.2,"impactScore":3.6},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:M/Au:N/C:N/I:P/A:P","accessVector":"NETWORK","accessComplexity":"MEDIUM","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":5.8},"severity":"MEDIUM","exploitabilityScore":8.6,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:mercurial:mercurial:*:*:*:*:*:*:*:*","versionEndExcluding":"4.9","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2019","CveId":"3902","Ordinal":"141511","Title":"CVE-2019-3902","CVE":"CVE-2019-3902","Year":"2019"},"notes":[{"CveYear":"2019","CveId":"3902","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2019","CveId":"3902","Ordinal":"2","NoteData":"2019-04-22","Type":"Other","Title":"Published"},{"CveYear":"2019","CveId":"3902","Ordinal":"3","NoteData":"2020-07-31","Type":"Other","Title":"Modified"}]}}}