Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

x/vulndb: potential Go vuln in github.com/moby/moby: CVE-2021-21284 #2316

Closed
tatianab opened this issue Nov 8, 2023 · 1 comment
Labels
excluded: LEGACY_FALSE_POSITIVE (DO NOT USE) Vulnerability marked as false positive before we introduced the triage process

Comments

@tatianab
Copy link
Contributor

tatianab commented Nov 8, 2023

CVE-2021-21284 references github.com/moby/moby, which may be a Go module.

Description:
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/" that cause writing files with extended privileges. Versions 20.10.3 and 19.03.15 contain patches that prevent privilege escalation from remapped user.

References:

Cross references:

See doc/triage.md for instructions on how to triage this report.

modules:
    - module: github.com/moby/moby
      vulnerable_at: 24.0.7+incompatible
      packages:
        - package: moby
cves:
    - CVE-2021-21284
references:
    - web: https://docs.docker.com/engine/release-notes/#20103
    - web: https://github.com/moby/moby/releases/tag/v20.10.3
    - web: https://github.com/moby/moby/releases/tag/v19.03.15
    - advisory: https://github.com/moby/moby/security/advisories/GHSA-7452-xqpj-6rpc
    - fix: https://github.com/moby/moby/commit/64bd4485b3a66a597c02c95f5776395e540b2c7c
    - web: https://security.netapp.com/advisory/ntap-20210226-0005/
    - web: https://www.debian.org/security/2021/dsa-4865
    - web: https://security.gentoo.org/glsa/202107-23

@tatianab tatianab added the excluded: LEGACY_FALSE_POSITIVE (DO NOT USE) Vulnerability marked as false positive before we introduced the triage process label Nov 8, 2023
@gopherbot
Copy link
Contributor

Change https://go.dev/cl/540721 mentions this issue: data/excluded: batch add 135 excluded reports

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
excluded: LEGACY_FALSE_POSITIVE (DO NOT USE) Vulnerability marked as false positive before we introduced the triage process
Projects
None yet
Development

No branches or pull requests

2 participants