
Cloud Vulnerability DB
A community-led vulnerabilities database
OS Command Injection vulnerability was discovered in GitHub repository gogs/gogs versions prior to 0.12.11, identified as CVE-2022-2024. The vulnerability was reported on June 8, 2022, affecting the repository editor functionality on case-insensitive file systems (CVE Mitre).
The vulnerability exists in the repository editor component of Gogs, specifically related to the Git path checking mechanism on case-insensitive file systems. The issue was addressed by implementing proper case-insensitive path validation in the isRepositoryGitPath function, as evidenced by the security fix that added lowercase path conversion before validation (GitHub Commit).
This vulnerability could allow an attacker to perform OS Command Injection attacks through the repository editor when operating on case-insensitive file systems, potentially leading to unauthorized command execution on the affected system (CVE Mitre).
The vulnerability has been fixed in Gogs version 0.12.11. Users are advised to upgrade to this version or later to address the security issue. The fix involves proper validation of Git paths on case-insensitive file systems (GitHub Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."