{"containers":{"cna":{"affected":[{"product":"moby","vendor":"moby","versions":[{"status":"affected","version":"< 19.03.15"},{"status":"affected","version":">= 20.0.0, < 20.10.3"}]}],"descriptions":[{"lang":"en","value":"In Docker before versions 9.03.15, 20.10.3 there is a vulnerability involving the --userns-remap option in which access to remapped root allows privilege escalation to real root. When using \"--userns-remap\", if the root user in the remapped namespace has access to the host filesystem they can modify files under \"/var/lib/docker/<remapping>\" that cause writing files with extended privileges. Versions 20.10.3 and 19.03.15 contain patches that prevent privilege escalation from remapped user."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2021-07-10T04:06:25.000Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"tags":["x_refsource_MISC"],"url":"https://docs.docker.com/engine/release-notes/#20103"},{"tags":["x_refsource_MISC"],"url":"https://github.com/moby/moby/releases/tag/v20.10.3"},{"tags":["x_refsource_MISC"],"url":"https://github.com/moby/moby/releases/tag/v19.03.15"},{"tags":["x_refsource_CONFIRM"],"url":"https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc"},{"tags":["x_refsource_MISC"],"url":"https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c"},{"tags":["x_refsource_CONFIRM"],"url":"https://security.netapp.com/advisory/ntap-20210226-0005/"},{"name":"DSA-4865","tags":["vendor-advisory","x_refsource_DEBIAN"],"url":"https://www.debian.org/security/2021/dsa-4865"},{"name":"GLSA-202107-23","tags":["vendor-advisory","x_refsource_GENTOO"],"url":"https://security.gentoo.org/glsa/202107-23"}],"source":{"advisory":"GHSA-7452-xqpj-6rpc","discovery":"UNKNOWN"},"title":"privilege escalation in Moby","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2021-21284","STATE":"PUBLIC","TITLE":"privilege escalation in Moby"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"moby","version":{"version_data":[{"version_value":"< 19.03.15"},{"version_value":">= 20.0.0, < 20.10.3"}]}}]},"vendor_name":"moby"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"In Docker before versions 9.03.15, 20.10.3 there is a vulnerability involving the --userns-remap option in which access to remapped root allows privilege escalation to real root. When using \"--userns-remap\", if the root user in the remapped namespace has access to the host filesystem they can modify files under \"/var/lib/docker/<remapping>\" that cause writing files with extended privileges. Versions 20.10.3 and 19.03.15 contain patches that prevent privilege escalation from remapped user."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"ADJACENT_NETWORK","availabilityImpact":"NONE","baseScore":6.8,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:N/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')"}]}]},"references":{"reference_data":[{"name":"https://docs.docker.com/engine/release-notes/#20103","refsource":"MISC","url":"https://docs.docker.com/engine/release-notes/#20103"},{"name":"https://github.com/moby/moby/releases/tag/v20.10.3","refsource":"MISC","url":"https://github.com/moby/moby/releases/tag/v20.10.3"},{"name":"https://github.com/moby/moby/releases/tag/v19.03.15","refsource":"MISC","url":"https://github.com/moby/moby/releases/tag/v19.03.15"},{"name":"https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc","refsource":"CONFIRM","url":"https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc"},{"name":"https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c","refsource":"MISC","url":"https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c"},{"name":"https://security.netapp.com/advisory/ntap-20210226-0005/","refsource":"CONFIRM","url":"https://security.netapp.com/advisory/ntap-20210226-0005/"},{"name":"DSA-4865","refsource":"DEBIAN","url":"https://www.debian.org/security/2021/dsa-4865"},{"name":"GLSA-202107-23","refsource":"GENTOO","url":"https://security.gentoo.org/glsa/202107-23"}]},"source":{"advisory":"GHSA-7452-xqpj-6rpc","discovery":"UNKNOWN"}}},"adp":[{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-03T18:09:15.042Z"},"title":"CVE Program Container","references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://docs.docker.com/engine/release-notes/#20103"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/moby/moby/releases/tag/v20.10.3"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/moby/moby/releases/tag/v19.03.15"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc"},{"tags":["x_refsource_MISC","x_transferred"],"url":"https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://security.netapp.com/advisory/ntap-20210226-0005/"},{"name":"DSA-4865","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred"],"url":"https://www.debian.org/security/2021/dsa-4865"},{"name":"GLSA-202107-23","tags":["vendor-advisory","x_refsource_GENTOO","x_transferred"],"url":"https://security.gentoo.org/glsa/202107-23"}]}]},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2021-21284","datePublished":"2021-02-02T17:55:22.000Z","dateReserved":"2020-12-22T00:00:00.000Z","dateUpdated":"2024-08-03T18:09:15.042Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"}