Cloudanix VulnDB

CVE-2024-5594

None

CVSS

—

EPSS

0.8%

Published

Jan 6, 2025

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A problem in OpenVPN lets attackers send specially crafted messages that could interfere with other programs on computers using the VPN.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Low
Impact
Remote Code Execution
Component
Network Service
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Improper sanitization of PUSH_REPLY messages allows injection of arbitrary data into third-party executables or plug-ins that process OpenVPN client messages.

Why it matters to the business

Potential compromise of systems using VPN clients with integrated plugins or external tools, risking unauthorized code execution or data manipulation in connected environments; low urgency given absence from known exploitation lists and stable low exploitation probability.

How an attack unfolds

An attacker sets up or compromises an OpenVPN server and sends crafted PUSH_REPLY messages containing unexpected data; when a vulnerable client connects, the unsanitized content is passed to third-party executables or plug-ins, enabling injection attacks.

How to fix it

Upgrade OpenVPN to version 2.6.11 or later using the fixed commit ddf6bf6d2a13583535c417532e96e8a8af77f977; update affected Ubuntu Jython packages to 2.5.3-1ubuntu0.1 or 2.5.3-9ubuntu0.1 where applicable.

How to confirm the fix worked

Confirm OpenVPN version is at least 2.6.11 and verify the presence of the sanitization fix in source or binary; test by sending sample PUSH_REPLY messages and checking for proper rejection of unexpected data.

Typical attack path

  1. Gain control of an OpenVPN server or MITM the connection
  2. Configure the server to emit malicious PUSH_REPLY messages
  3. Wait for vulnerable clients to connect and process the messages
  4. Trigger injection into target third-party components

How to detect it

Review OpenVPN client logs for unexpected PUSH_REPLY content or plugin errors following connections; monitor third-party executables for anomalous behavior after VPN sessions.

What your security team should do

  • Prioritize upgrade of all OpenVPN installations to the fixed version
  • Audit and restrict third-party plugins that consume PUSH_REPLY data
  • Implement network segmentation for VPN clients until patched

The record

OpenVPN before 2.6.11 does not santize PUSH_REPLY messages properly which attackers can use to inject unexpected arbitrary data into third-party executables or plug-ins.

Affected packages

Ecosystem Package Introduced Fixed
Alpine:v3.17 openvpn 0 2.5.10-r1
Alpine:v3.18 openvpn 0 2.6.11-r0
Alpine:v3.19 openvpn 0 2.6.11-r0
Alpine:v3.20 openvpn 0 2.6.11-r0
Alpine:v3.21 openvpn 0 2.6.11-r0
Alpine:v3.22 openvpn 0 2.6.11-r0
Debian:11 openvpn 0 No fix
Debian:11 openvpn 0 2.5.1-3+deb11u1
Debian:12 openvpn 0 No fix
Debian:13 openvpn 0 2.6.11-1
Debian:14 openvpn 0 2.6.11-1
Mageia:9 openvpn 0 2.5.9-1.1.mga9
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS openvpn 0 2.5.6-150400.3.9.1
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS openvpn 0 2.5.6-150400.3.9.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS openvpn 0 2.5.6-150400.3.9.1
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS openvpn 0 2.5.6-150400.3.9.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 openvpn 0 2.6.8-150600.3.14.1
SUSE:Linux Enterprise Module for Basesystem 15 SP6 openvpn-dco 0 2.6.8-150600.3.14.1
SUSE:Linux Enterprise Server 12 SP5-LTSS openvpn 0 2.3.8-16.35.1
SUSE:Linux Enterprise Server 15 SP4-LTSS openvpn 0 2.5.6-150400.3.9.1
SUSE:Linux Enterprise Server 15 SP5-LTSS openvpn 0 2.5.6-150400.3.9.1
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 openvpn 0 2.3.8-16.35.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP4 openvpn 0 2.5.6-150400.3.9.1
SUSE:Linux Enterprise Server for SAP Applications 15 SP5 openvpn 0 2.5.6-150400.3.9.1
SUSE:Manager Proxy 4.3 openvpn 0 2.5.6-150400.3.9.1
SUSE:Manager Server 4.3 openvpn 0 2.5.6-150400.3.9.1
Ubuntu:20.04:LTS openvpn 0 2.4.12-0ubuntu0.20.04.2
Ubuntu:22.04:LTS openvpn 0 2.5.9-0ubuntu0.22.04.3
Ubuntu:23.10 openvpn 0 2.6.5-0ubuntu1.2
Ubuntu:24.04:LTS openvpn 0 2.6.9-1ubuntu4.1
Ubuntu:24.10 openvpn 0 2.6.11-1ubuntu1
Ubuntu:Pro:14.04:LTS openvpn 0 No fix
Ubuntu:Pro:14.04:LTS openvpn 0 2.3.2-7ubuntu3.2+esm2
Ubuntu:Pro:16.04:LTS openvpn 0 No fix
Ubuntu:Pro:16.04:LTS openvpn 0 2.3.10-1ubuntu2.2+esm2
Ubuntu:Pro:18.04:LTS openvpn 0 No fix
Ubuntu:Pro:18.04:LTS openvpn 0 2.4.4-2ubuntu1.7+esm1
openSUSE:Leap 15.6 openvpn 0 2.6.8-150600.3.14.1
openSUSE:Leap 15.6 openvpn-dco 0 2.6.8-150600.3.14.1
openSUSE:Tumbleweed openvpn 0 2.6.10-5.1

Related vulnerabilities