Cloudanix VulnDB

CVE-2024-41184

Critical · 9.8

CVSS

9.8

EPSS

0.6%

Published

Jul 18, 2024

CISA due date

—

Cloudanix analysis

Monitor only SSVC: Track

A high-availability networking tool can be tricked into crashing or being taken over if someone deliberately sets up an empty network list name, though this requires a specific user mistake.

Chainable
Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
Theoretical
Impact
Full Compromise
Component
Application
Class
Improper Input Validation
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

Integer overflow in the vrrp_ipsets_handler function within the configuration parser allows memory corruption when an empty ipset name is supplied during VRRP processing.

Why it matters to the business

Potential remote code execution or denial of service on systems running high-availability networking services, though real-world exposure is constrained by the requirement for an empty ipset name in user configuration; low EPSS and absence from KEV indicate limited active threat.

How an attack unfolds

An attacker supplies a keepalived configuration containing an empty ipset name that reaches the vulnerable handler during parsing, triggering the integer overflow to corrupt memory and potentially achieve code execution.

How to fix it

Upgrade keepalived to a version newer than 2.3.1 and audit all configuration files to ensure no empty ipset names are present.

How to confirm the fix worked

Verify installed keepalived version exceeds 2.3.1 and scan configuration files for any ipset directives lacking a name value.

Typical attack path

  1. Obtain or influence the keepalived configuration file
  2. Insert an empty ipset name directive
  3. Cause keepalived to parse the configuration
  4. Trigger the overflow in vrrp_ipsets_handler for memory corruption

How to detect it

Review keepalived configuration files and startup logs for parsing entries involving ipset names; monitor for unexpected process crashes or memory errors during VRRP initialization.

What your security team should do

  • Audit and correct keepalived configuration files to eliminate empty ipset names
  • Plan upgrade of keepalived beyond version 2.3.1 across all deployments
  • Add configuration validation steps to deployment pipelines

The record

In the vrrp_ipsets_handler handler (fglobal_parser.c) of keepalived through 2.3.1, an integer overflow can occur. NOTE: this CVE Record might not be worthwhile because an empty ipset name must be configured by the user.

Affected packages

Ecosystem Package Introduced Fixed
AlmaLinux:8 keepalived 0 2.1.5-10.el8_10
AlmaLinux:9 keepalived 0 2.2.8-4.el9_5
Debian:11 keepalived 0 No fix
Debian:12 keepalived 0 No fix
Debian:13 keepalived 0 No fix
Debian:14 keepalived 0 1:2.3.2-1
Rocky Linux:8 keepalived 0 0:2.1.5-10.el8_10
Rocky Linux:9 keepalived 0 0:2.2.8-4.el9_5
SUSE:Linux Enterprise High Availability Extension 15 SP2 keepalived 0 2.0.19-150100.3.9.1
SUSE:Linux Enterprise High Availability Extension 15 SP3 keepalived 0 2.0.19-150100.3.9.1
SUSE:Linux Enterprise High Availability Extension 15 SP4 keepalived 0 2.2.2-150400.3.10.1
SUSE:Linux Enterprise High Availability Extension 15 SP5 keepalived 0 2.2.2-150500.8.5.1
SUSE:Linux Enterprise High Availability Extension 15 SP6 keepalived 0 2.2.8-150600.3.5.1
SUSE:Linux Enterprise Micro 5.3 keepalived 0 2.2.2-150400.3.10.1
SUSE:Linux Enterprise Micro 5.4 keepalived 0 2.2.2-150400.3.10.1
SUSE:Linux Enterprise Micro 5.5 keepalived 0 2.2.2-150500.8.5.1
Ubuntu:16.04:LTS keepalived 0 No fix
Ubuntu:18.04:LTS keepalived 0 No fix
Ubuntu:20.04:LTS keepalived 0 No fix
Ubuntu:22.04:LTS keepalived 0 No fix
Ubuntu:24.04:LTS keepalived 0 No fix
Ubuntu:24.10 keepalived 0 No fix
Ubuntu:25.04 keepalived 0 No fix
Ubuntu:25.10 keepalived 0 No fix
Ubuntu:Pro:14.04:LTS keepalived 0 No fix
Ubuntu:Pro:16.04:LTS keepalived 0 No fix
Ubuntu:Pro:18.04:LTS keepalived 0 No fix
Ubuntu:Pro:20.04:LTS keepalived 0 No fix
openSUSE:Leap 15.5 keepalived 0 2.2.2-150500.8.5.1
openSUSE:Leap 15.6 keepalived 0 2.2.8-150600.3.5.1
openSUSE:Leap Micro 5.5 keepalived 0 2.2.2-150500.8.5.1
openSUSE:Tumbleweed keepalived 0 2.3.1+git59.b6681f98-1.1

Related vulnerabilities