An issue has been discovered in GitLab affecting all versions starting from 12.4. The regex used for package names is written in a way that makes execution time have quadratic growth based on the length of the malicious input string.
{
"versions": [
{
"introduced": "12.4.0"
},
{
"fixed": "13.5.6"
},
{
"introduced": "12.4.0"
},
{
"fixed": "13.5.6"
},
{
"introduced": "13.6.0"
},
{
"fixed": "13.6.4"
},
{
"introduced": "13.6.0"
},
{
"fixed": "13.6.4"
},
{
"introduced": "13.7.0"
},
{
"fixed": "13.7.2"
},
{
"introduced": "13.7.0"
},
{
"fixed": "13.7.2"
}
]
}