Vulnerability Name:

CCN-52136

Published:2009-07-29
Updated:2009-07-29
Summary:NetBSD is vulnerable to a buffer overflow, caused by improper bounds checking by the libcrypto SHA256 and SHA512 hash init functions in sys/sha2.h. By sending an overly long hash value, a remote attacker could overflow a buffer and execute arbitrary code on the system with elevated privileges or cause the affected application to crash.
CVSS v3 Severity:7.3 High (CCN CVSS v3.1 Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L)
Exploitability Metrics:Attack Vector (AV): Network
Attack Complexity (AC): Low
Privileges Required (PR): None
User Interaction (UI): None
Scope:Scope (S): Unchanged
Impact Metrics:Confidentiality (C): Low
Integrity (I): Low
Availibility (A): Low
CVSS v2 Severity:7.5 High (CCN CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P)
5.5 Medium (CCN Temporal CVSS v2 Vector: AV:N/AC:L/Au:N/C:P/I:P/A:P/E:U/RL:OF/RC:C)
Exploitability Metrics:Access Vector (AV): Network
Access Complexity (AC): Low
Athentication (Au): None
Impact Metrics:Confidentiality (C): Partial
Integrity (I): Partial
Availibility (A): Partial
Vulnerability Consequences:Gain Access
References:Source: CCN
Type: NetBSD Security Advisory 2009-012
SHA2 implementation potential buffer overflow

Source: CCN
Type: SA36044
NetBSD SHA2 Implementation Buffer Overflow Vulnerability

Source: CCN
Type: OSVDB ID: 56692
NetBSD sys/sha2.h libcrypto SHA2 Implementation Init Functions Overflow DoS

Source: CCN
Type: BID-35853
NetBSD SHA2 Implementation Buffer Overflow Vulnerability

Source: XF
Type: UNKNOWN
netbsd-sha2-bo(52136)

Vulnerable Configuration:Configuration CCN 1:
  • cpe:/o:netbsd:netbsd:4.0:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:4.0.1:*:*:*:*:*:*:*
  • OR cpe:/o:netbsd:netbsd:5.0:*:*:*:*:*:*:*

  • * Denotes that component is vulnerable
    BACK
    netbsd netbsd 4.0
    netbsd netbsd 4.0.1
    netbsd netbsd 5.0