Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/goharbor/harbor
  4. ›
  5. CVE-2023-20902

CVE-2023-20902: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

October 10, 2023

Improper Neutralization of Special Elements used in an OS Command (‘OS Command Injection’) in github.com/goharbor/harbor.

References

  • github.com/advisories/GHSA-mq6f-5xh5-hgcf
  • github.com/goharbor/harbor/blob/aaea068cceb4063ab89313d9785f2b40f35b0d63/src/jobservice/api/authenticator.go
  • github.com/goharbor/harbor/releases/tag/v1.10.18
  • github.com/goharbor/harbor/releases/tag/v2.7.3
  • github.com/goharbor/harbor/releases/tag/v2.8.3
  • github.com/goharbor/harbor/security/advisories/GHSA-mq6f-5xh5-hgcf

Code Behaviors & Features

Detect and mitigate CVE-2023-20902 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.10.18, all versions starting from 2.0.0 before 2.7.3, all versions starting from 2.8.0 before 2.8.3

Fixed versions

  • 1.10.18
  • 2.7.3
  • 2.8.3

Solution

Upgrade to versions 1.10.18, 2.7.3, 2.8.3 or above.

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

go/github.com/goharbor/harbor/CVE-2023-20902.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:14:58 +0000.