{
    "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"
                }
            ]
        ]
    }
}