Gogs is an open source self-hosted Git service. A malicious user is able to commit and edit a crafted symlink file to a repository to gain SSH access to the server. The vulnerability is fixed in 0.13.1.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-22",
"CWE-61"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/54xxx/CVE-2024-54148.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.13.1"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c94baec9ca923f38c19f0c7c5af722b9ec04022a"
}
],
"source": "REFERENCES_COMMIT"
}
]
}