Race Condition Affecting openvpn package, versions [2.4.0,2.4.9)


Severity

Recommended
0.0
low
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.34% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Race Condition vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-OPENVPN-2319205
  • published14 Dec 2021
  • disclosed27 Apr 2020
  • creditUnknown

Introduced: 27 Apr 2020

CVE-2020-11810  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade openvpn to version 2.4.9 or higher.

Overview

Affected versions of this package are vulnerable to Race Condition. An issue was discovered in OpenVPN 2.4.x before 2.4.9. An attacker can inject a data channel v2 (P_DATA_V2) packet using a victim's peer-id. Normally such packets are dropped, but if this packet arrives before the data channel crypto parameters have been initialized, the victim's connection will be dropped. This requires careful timing due to the small time window (usually within a few seconds) between the victim client connection starting and the server PUSH_REPLY response back to the client. This attack will only work if Negotiable Cipher Parameters (NCP) is in use.

CVSS Scores

version 3.1