Moderate: libreswan security update

libreswan Updated 02 Oct 2025

Summary

08/07/2024
N/A
Yes i
Unrated
Not published

ALSA-2024:4376: Moderate: libreswan security update. Affects libreswan versions < 4.12-2.el8_10.4. Fixed in 4.12-2.el8_10.4. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Libreswan is an implementation of IPsec and IKE for Linux. It provides authentication and encryption services through strong cryptography, allowing the creation of secure tunnels in untrusted networks such as VPNs.

Vulnerability Detail

The vulnerability in libreswan is related to the default AH/ESP responder in IKEv1, which can crash and restart. This vulnerability is identified as CVE-2024-3652. An attacker could exploit this vulnerability to disrupt the availability of the IPsec service and potentially gain unauthorized access to the system.

How To Fix

Minimum fixed version

4.12-2.el8_10.4

This is the first release that contains the fix.

sudo dnf update libreswan

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Conclusion

The libreswan security update addresses a vulnerability in the default AH/ESP responder of IKEv1. It is crucial to update libreswan to version 4.12-2.el8_10.4 or later to mitigate the risk of potential disruptions and unauthorized access.

See every vulnerability recorded for libreswan →

Share this vulnerability

FAQ

Libreswan is an implementation of IPsec and IKE for Linux, providing authentication and encryption services for secure tunnels.

The vulnerability allows an attacker to crash and restart the default AH/ESP responder in IKEv1, potentially disrupting the IPsec service and compromising system security.

To fix this vulnerability, update libreswan to version 4.12-2.el8_10.4 or later.

The update can be obtained from the official AlmaLinux repositories or through package management tools.

No specific workaround has been provided for this vulnerability. It is recommended to apply the official update.

Related vulnerabilities

Recent vulnerabilities recorded for libreswan.

How To Fix

Minimum fixed version

4.12-2.el8_10.4

This is the first release that contains the fix.

sudo dnf update libreswan

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback