Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/goharbor/harbor/src/core/api
  4. ›
  5. CVE-2019-16097

CVE-2019-16097: Missing Authorization

February 15, 2022 (updated April 12, 2022)

core/api/user.go in Harbor 1.7.0 through 1.8.2 allows non-admin users to create admin accounts via the POST /api/users API, when Harbor is setup with DB as authentication backend and allow user to do self-registration. Fixed version: v1.7.6 v1.8.3. v.1.9.0. Workaround without applying the fix: configure Harbor to use non-DB authentication backend such as LDAP.

References

  • www.vmware.com/security/advisories/VMSA-2019-0015.html
  • github.com/advisories/GHSA-9wvh-ff5f-xjpj
  • github.com/goharbor/harbor/commit/b6db8a8a106259ec9a2c48be8a380cb3b37cf517
  • github.com/goharbor/harbor/compare/v1.8.2...v1.9.0-rc1
  • github.com/goharbor/harbor/releases/tag/v1.7.6
  • github.com/goharbor/harbor/releases/tag/v1.8.3
  • github.com/ianxtianxt/CVE-2019-16097
  • nvd.nist.gov/vuln/detail/CVE-2019-16097
  • unit42.paloaltonetworks.com/critical-vulnerability-in-harbor-enables-privilege-escalation-from-zero-to-admin-cve-2019-16097/

Code Behaviors & Features

Detect and mitigate CVE-2019-16097 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 1.7.0 before 1.7.6, all versions from 1.8.0 before 1.8.3

Fixed versions

  • v1.7.6
  • v1.8.3

Solution

Upgrade to version 1.7.6, 1.8.3 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-862: Missing Authorization

Source file

go/github.com/goharbor/harbor/src/core/api/CVE-2019-16097.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:20 +0000.