Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/go-gitea/gitea/models
  4. ›
  5. CVE-2019-11229

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

February 15, 2022 (updated April 12, 2022)

models/repo_mirror.go in Gitea before 1.7.6 and 1.8.x before 1.8-RC3 mishandles mirror repo URL settings, leading to remote code execution.

References

  • packetstormsecurity.com/files/160833/Gitea-1.7.5-Remote-Code-Execution.html
  • github.com/advisories/GHSA-hpmr-prr2-cqc4
  • github.com/go-gitea/gitea/pull/6593
  • github.com/go-gitea/gitea/pull/6595
  • github.com/go-gitea/gitea/releases/tag/v1.7.6
  • github.com/go-gitea/gitea/releases/tag/v1.8.0-rc3
  • nvd.nist.gov/vuln/detail/CVE-2019-11229
  • www.exploit-db.com/exploits/49383

Code Behaviors & Features

Detect and mitigate CVE-2019-11229 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.7.6

Fixed versions

  • v1.7.6

Solution

Upgrade to version 1.7.6 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

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

Source file

go/github.com/go-gitea/gitea/models/CVE-2019-11229.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:43 +0000.