CVE Vulnerabilities

CVE-2020-12457

Loop with Unreachable Exit Condition ('Infinite Loop')

Published: Aug 21, 2020 | Modified: Nov 21, 2024
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
5 MEDIUM
AV:N/AC:L/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
LOW
root.io logo minimus.io logo echo.ai logo

An issue was discovered in wolfSSL before 4.5.0. It mishandles the change_cipher_spec (CCS) message processing logic for TLS 1.3. If an attacker sends ChangeCipherSpec messages in a crafted way involving more than one in a row, the server becomes stuck in the ProcessReply() loop, i.e., a denial of service.

Weakness

The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop.

Affected Software

NameVendorStart VersionEnd Version
WolfsslWolfssl*4.5.0 (excluding)
WolfsslUbuntubionic*
WolfsslUbuntuesm-apps/bionic*
WolfsslUbuntuesm-apps/focal*
WolfsslUbuntuesm-apps/xenial*
WolfsslUbuntufocal*
WolfsslUbuntutrusty*
WolfsslUbuntuupstream*
WolfsslUbuntuxenial*

References