SecurityContext

CVE-2021-22206: GitLab - Credentials Exposure

  • Cve: CVE-2021-22206
  • Name: GitLab - Credentials Exposure
  • Description: An issue has been discovered in GitLab affecting all versions starting from 11.6. Pull mirror credentials are exposed that allows other maintainers to be able to view the credentials in plain-text,
  • Impact: Maintainers can view pull mirror credentials in plain-text, leading to potential unauthorized access to external repositories or services.
  • Remediation: Update to the latest version of GitLab where this issue is fixed or apply security patches provided by GitLab.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: information_disclosure
  • Requirement type: logged_in
  • Requirements: Attacker needs access to the GitLab instance as a maintainer
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.9
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.01035
  • Epss percentile: 0.64551
  • Assignee: [email protected]
  • Published at: 2021-05-06T14:15:07Z
  • Age in days: 2028
  • Modified at: 2026-06-17T03:36:48Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22206
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-312Cleartext Storage of Sensitive Information

Public exploits

UrlSourceAdded date
https://github.com/dannymas/CVE-2021-22206poc-in-github2021-11-02

References

UrlSourceTags
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-22206.jsonnvdVendor Advisory
https://hackerone.com/reports/928074nvdPermissions Required, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
gitlab:gitlab>= 13.11.0, < 13.11.2; >= 13.10.0, < 13.10.4; >= 11.6.0, < 13.9.7nonvd/v1/products/gitlab/gitlab

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-11-02
  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 66493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports