{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "n/a",
                    "vendor": "n/a",
                    "versions": [
                        {
                            "status": "affected",
                            "version": "n/a"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "In Docker before 18.09.4, an attacker who is capable of supplying or manipulating the build path for the \"docker build\" command would be able to gain command execution. An issue exists in the way \"docker build\" processes remote git URLs, and results in command injection into the underlying \"git clone\" command, leading to code execution in the context of the user executing the \"docker build\" command. This occurs because git ref can be misinterpreted as a flag."
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "description": "n/a",
                            "lang": "en",
                            "type": "text"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2019-10-29T14:06:13",
                "orgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
                "shortName": "mitre"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/moby/moby/pull/38944"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://docs.docker.com/engine/release-notes/#18094"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/"
                },
                {
                    "name": "DSA-4521",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_DEBIAN"
                    ],
                    "url": "https://www.debian.org/security/2019/dsa-4521"
                },
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://security.netapp.com/advisory/ntap-20190910-0001/"
                },
                {
                    "name": "20190910 [SECURITY] [DSA 4521-1] docker.io security update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_BUGTRAQ"
                    ],
                    "url": "https://seclists.org/bugtraq/2019/Sep/21"
                },
                {
                    "name": "RHBA-2019:3092",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_REDHAT"
                    ],
                    "url": "https://access.redhat.com/errata/RHBA-2019:3092"
                }
            ],
            "x_legacyV4Record": {
                "CVE_data_meta": {
                    "ASSIGNER": "cve@mitre.org",
                    "ID": "CVE-2019-13139",
                    "STATE": "PUBLIC"
                },
                "affects": {
                    "vendor": {
                        "vendor_data": [
                            {
                                "product": {
                                    "product_data": [
                                        {
                                            "product_name": "n/a",
                                            "version": {
                                                "version_data": [
                                                    {
                                                        "version_value": "n/a"
                                                    }
                                                ]
                                            }
                                        }
                                    ]
                                },
                                "vendor_name": "n/a"
                            }
                        ]
                    }
                },
                "data_format": "MITRE",
                "data_type": "CVE",
                "data_version": "4.0",
                "description": {
                    "description_data": [
                        {
                            "lang": "eng",
                            "value": "In Docker before 18.09.4, an attacker who is capable of supplying or manipulating the build path for the \"docker build\" command would be able to gain command execution. An issue exists in the way \"docker build\" processes remote git URLs, and results in command injection into the underlying \"git clone\" command, leading to code execution in the context of the user executing the \"docker build\" command. This occurs because git ref can be misinterpreted as a flag."
                        }
                    ]
                },
                "problemtype": {
                    "problemtype_data": [
                        {
                            "description": [
                                {
                                    "lang": "eng",
                                    "value": "n/a"
                                }
                            ]
                        }
                    ]
                },
                "references": {
                    "reference_data": [
                        {
                            "name": "https://github.com/moby/moby/pull/38944",
                            "refsource": "MISC",
                            "url": "https://github.com/moby/moby/pull/38944"
                        },
                        {
                            "name": "https://docs.docker.com/engine/release-notes/#18094",
                            "refsource": "MISC",
                            "url": "https://docs.docker.com/engine/release-notes/#18094"
                        },
                        {
                            "name": "https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/",
                            "refsource": "MISC",
                            "url": "https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/"
                        },
                        {
                            "name": "DSA-4521",
                            "refsource": "DEBIAN",
                            "url": "https://www.debian.org/security/2019/dsa-4521"
                        },
                        {
                            "name": "https://security.netapp.com/advisory/ntap-20190910-0001/",
                            "refsource": "CONFIRM",
                            "url": "https://security.netapp.com/advisory/ntap-20190910-0001/"
                        },
                        {
                            "name": "20190910 [SECURITY] [DSA 4521-1] docker.io security update",
                            "refsource": "BUGTRAQ",
                            "url": "https://seclists.org/bugtraq/2019/Sep/21"
                        },
                        {
                            "name": "RHBA-2019:3092",
                            "refsource": "REDHAT",
                            "url": "https://access.redhat.com/errata/RHBA-2019:3092"
                        }
                    ]
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-04T23:41:10.517Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/moby/moby/pull/38944"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://docs.docker.com/engine/release-notes/#18094"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://staaldraad.github.io/post/2019-07-16-cve-2019-13139-docker-build/"
                    },
                    {
                        "name": "DSA-4521",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_DEBIAN",
                            "x_transferred"
                        ],
                        "url": "https://www.debian.org/security/2019/dsa-4521"
                    },
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://security.netapp.com/advisory/ntap-20190910-0001/"
                    },
                    {
                        "name": "20190910 [SECURITY] [DSA 4521-1] docker.io security update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_BUGTRAQ",
                            "x_transferred"
                        ],
                        "url": "https://seclists.org/bugtraq/2019/Sep/21"
                    },
                    {
                        "name": "RHBA-2019:3092",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_REDHAT",
                            "x_transferred"
                        ],
                        "url": "https://access.redhat.com/errata/RHBA-2019:3092"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "8254265b-2729-46b6-b9e3-3dfca2d5bfca",
        "assignerShortName": "mitre",
        "cveId": "CVE-2019-13139",
        "datePublished": "2019-08-22T19:47:43",
        "dateReserved": "2019-07-01T00:00:00",
        "dateUpdated": "2024-08-04T23:41:10.517Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}