CVE-2019-5736

Source
https://cve.org/CVERecord?id=CVE-2019-5736
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5736.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2019-5736
Downstream
Related
Published
2019-02-11T19:29:00.297Z
Modified
2026-03-15T22:33:28.900100Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

runc through 1.0-rc6, as used in Docker before 18.09.2 and other products, allows attackers to overwrite the host runc binary (and consequently obtain host root access) by leveraging the ability to execute a command as root within one of these types of containers: (1) a new container with an attacker-controlled image, or (2) an existing container, to which the attacker previously had write access, that can be attached with docker exec. This occurs because of file-descriptor mishandling, related to /proc/self/exe.

References

Affected packages

Git / github.com/apache/mesos

Affected ranges

Type
GIT
Repo
https://github.com/apache/mesos
Events
Database specific
{
    "versions": [
        {
            "introduced": "1.4.0"
        },
        {
            "fixed": "1.4.3"
        },
        {
            "introduced": "1.5.0"
        },
        {
            "fixed": "1.5.3"
        },
        {
            "introduced": "1.6.0"
        },
        {
            "fixed": "1.6.2"
        },
        {
            "introduced": "1.7.0"
        },
        {
            "fixed": "1.7.2"
        }
    ]
}
Type
GIT
Repo
https://github.com/docker-archive/docker-ce
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "18.09.2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "18.04"
        }
    ]
}
Type
GIT
Repo
https://github.com/lxc/lxc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "fixed": "3.2.0"
        }
    ]
}
Type
GIT
Repo
https://github.com/opencontainers/runc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Fixed
Fixed
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.1.1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-rc1"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-rc2"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-rc3"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-rc4"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-rc5"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "1.0.0-rc6"
        }
    ]
}
Type
GIT
Repo
https://github.com/openshift/origin
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
{
    "versions": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.7"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.6"
        },
        {
            "introduced": "0"
        },
        {
            "last_affected": "3.7"
        }
    ]
}

Affected versions

1.*
1.4.0
1.4.0-rc5
1.4.1
1.4.1-rc1
1.4.2
1.4.2-rc1
1.4.3-rc1
1.5.0
1.5.0-rc2
1.5.1
1.5.1-rc1
1.5.2
1.5.2-rc1
1.5.2-rc2
1.5.2-rc3
1.6.0
1.6.0-rc1
1.6.1
1.6.1-rc1
1.6.1-rc2
1.7.0
1.7.0-rc3
1.7.1
1.7.1-rc1
1.7.1-rc2
lxc-0.*
lxc-0.6.5
lxc-0.7.0
lxc-0.7.1
lxc-0.7.2
lxc-0.7.3
lxc-0.7.4
lxc-0.7.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rc6
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.0.6
v1.0.7
v1.0.8
v1.1
v1.1.1
v1.1.2
v1.1.3
v1.1.4
v1.1.5
v1.1.6
v1.2.0
v1.2.0-rc1
v1.2.0-rc2
v1.3.0
v1.3.0-alpha.0
v1.3.0-alpha.1
v1.3.0-alpha.2
v1.3.0-alpha.3
v1.3.0-rc1
v1.4.0-alpha.0
v1.4.0-alpha.1
v1.5.0-alpha.0
v1.5.0-alpha.1
v1.5.0-alpha.2
v1.5.0-alpha.3
v18.*
v18.04.0-ce
v18.04.0-ce-rc1
v18.04.0-ce-rc2
v3.*
v3.6.0
v3.6.0-alpha.0
v3.6.0-alpha.1
v3.6.0-alpha.2
v3.6.0-rc.0
v3.7.0
v3.7.0-alpha.0
v3.7.0-alpha.1
v3.7.0-rc.0

Database specific

unresolved_ranges
[
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "3.4"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "3.5"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "8.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "7.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.0-NA"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.0-sp1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.0"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "15.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "42.3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "2.2.0-1.13.3"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "fixed": "1.10.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "1.10.11"
            },
            {
                "fixed": "1.11.9"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "1.11.10"
            },
            {
                "fixed": "1.12.1"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "29"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "30"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "16.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "18.10"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "19.04"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "2018.02"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "2018.05"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "2018.08"
            }
        ]
    },
    {
        "events": [
            {
                "introduced": "0"
            },
            {
                "last_affected": "2018.11"
            }
        ]
    }
]
vanir_signatures
[
    {
        "signature_type": "Line",
        "signature_version": "v1",
        "target": {
            "file": "libcontainer/nsenter/nsexec.c"
        },
        "id": "CVE-2019-5736-1cffac28",
        "deprecated": false,
        "source": "https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b",
        "digest": {
            "line_hashes": [
                "206209469052802163709281360376397312675",
                "48219882597669953983429687793407620753",
                "213043235157353488768314210772726520178",
                "251821556443359960608428361047721063429",
                "93222659505421272286403399172694346479",
                "107309039482126281655838517999257961732"
            ],
            "threshold": 0.9
        }
    },
    {
        "signature_type": "Function",
        "signature_version": "v1",
        "target": {
            "file": "libcontainer/nsenter/nsexec.c",
            "function": "nsexec"
        },
        "id": "CVE-2019-5736-c45baaa5",
        "deprecated": false,
        "source": "https://github.com/opencontainers/runc/commit/0a8e4117e7f715d5fbeef398405813ce8e88558b",
        "digest": {
            "function_hash": "43249958159973239119332662430070161949",
            "length": 6892.0
        }
    }
]
source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-5736.json"