Remote code execution in wolfSSL



Published: 2021-02-02
Risk High
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2020-36177
CWE-ID CWE-787
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
wolfSSL
Universal components / Libraries / Libraries used by multiple products

Vendor wolfSSL

Security Bulletin

This security bulletin contains one high risk vulnerability.

1) Out-of-bounds write

EUVDB-ID: #VU50252

Risk: High

CVSSv3.1:

CVE-ID: CVE-2020-36177

CWE-ID: CWE-787 - Out-of-bounds Write

Exploit availability: No

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to a boundary error when processing untrusted input for certain relationships between key size and digest size within the RsaPad_PSS() function in wolfcrypt/src/rsa.c in wolfSSL. A remote attacker can send specially crafted data to the application, trigger out-of-bounds write and execute arbitrary code on the target system.

Mitigation

Install updates from vendor's website.

Vulnerable software versions

wolfSSL: 2.0.3 - 4.5.0


CPE2.3 External links

http://bugs.chromium.org/p/oss-fuzz/issues/detail?id=26567
http://github.com/wolfSSL/wolfssl/commit/63bf5dc56ccbfc12a73b06327361687091a4c6f7
http://github.com/wolfSSL/wolfssl/commit/fb2288c46dd4c864b78f00a47a364b96a09a5c0f
http://github.com/wolfSSL/wolfssl/pull/3426
http://github.com/wolfSSL/wolfssl/releases/tag/v4.6.0-stable

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?



###SIDEBAR###