NetSight
hoch7.5

CVE-2024-5991

In function MatchDomainName(), input param str is treated as a NULL terminated string despite being user provided and unchecked.

Auswirkung

In function MatchDomainName(), input param str is treated as a NULL terminated string despite being user provided and unchecked. Specifically, the function X509_check_host() takes in a pointer and length to check against, with no requirements that it be NULL terminated. If a caller was attempting to do a name check on a non-NULL terminated buffer, the code would read beyond the bounds of the input array until it found a NULL terminator.This issue affects wolfSSL: through 5.7.0.

Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, ohne Zutun eines Nutzers. Bei Erfolg: hohes Risiko für Ausfälle.

Betroffene Produkte

HerstellerProduktBetroffene VersionenBehoben durch
MicrosoftAzure Linux 3.0 ARMOnlinedienstVom Hersteller behoben, nichts zu tun
MicrosoftAzure Linux 3.0 x64OnlinedienstVom Hersteller behoben, nichts zu tun
WolfsslWolfssl
bis einschließlich 5.7.0
Kein Hersteller-Update aufgeführt

Schwachstellenklasse

Referenzen