An issue was discovered in Mbed TLS before 2.25.0 (and before 2.16.9 LTS and before 2.7.18 LTS). The calculations performed by mbedtlsmpiexp_mod are not limited; thus, supplying overly large parameters could lead to denial of service when generating Diffie-Hellman key pairs.
{
"versions": [
{
"introduced": "0"
},
{
"fixed": "2.7.18"
},
{
"introduced": "2.8.0"
},
{
"fixed": "2.16.9"
},
{
"introduced": "2.17.0"
},
{
"fixed": "2.25.0"
},
{
"introduced": "0"
},
{
"fixed": "2.2"
},
{
"introduced": "0"
},
{
"fixed": "2.2"
}
]
}