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.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "1.7.6"
},
{
"introduced": "0"
},
{
"last_affected": "1.8.0-rc1"
},
{
"introduced": "0"
},
{
"last_affected": "1.8.0-rc2"
}
]
}