icon

We found results for “

WS-2023-0076

Date: March 15, 2023

A stack-based buffer overflow was discovered in OpenBSD's libskey. In the file skeylogin.c, "pbuf - p" at lines 439 and 440 should be "p - pbuf", so the "pbuf - p < 4" test at line 439 always succeeds and the strncpy() at line 440 may overflow pbuf (if 2 * (p - pbuf) + 4 > 255 + 1, i.e. if the hostname is longer than 126 characters).

Language: C

Severity Score

Severity Score

Weakness Type (CWE)

Stack-based Buffer Overflow

CWE-121

CVSS v3.1

Base Score:
Attack Vector (AV): NETWORK
Attack Complexity (AC): LOW
Privileges Required (PR): NONE
User Interaction (UI): NONE
Scope (S): UNCHANGED
Confidentiality (C): NONE
Integrity (I): NONE
Availability (A): HIGH

Do you need more information?

Contact Us