Moderate: libreswan security update

libreswan Updated 02 Oct 2025

Summary

14/11/2023
N/A
Yes i
Unrated
Not published

ALSA-2023:7052: Moderate: libreswan security update. Affects libreswan versions < 4.12-2.el8. Fixed in 4.12-2.el8. 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. IPsec is the Internet Protocol Security and uses strong cryptography to provide both authentication and encryption services. These services allow you to build secure tunnels through untrusted networks such as virtual private network (VPN).

Vulnerability Detail

The libreswan package is affected by multiple vulnerabilities:

  1. CVE-2023-38710: An invalid IKEv2 REKEY proposal can cause a restart.
  2. CVE-2023-38711: An invalid IKEv1 Quick Mode ID can cause a restart.
  3. CVE-2023-38712: An invalid IKEv1 repeat IKE SA delete can cause a crash and restart.

These vulnerabilities can be exploited by an attacker to disrupt the functionality of libreswan and potentially gain unauthorized access or cause denial of service.

How To Fix

Minimum fixed version

4.12-2.el8

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 →

Workaround

There are no known workarounds for these vulnerabilities.

Conclusion

Updating the libreswan package to version 4.12-2.el8 or later is crucial to address the identified vulnerabilities. For further support on vulnerability remediation, please contact DevNack.com.

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.

IPsec is the Internet Protocol Security, which uses strong cryptography to secure network communications.

IKE (Internet Key Exchange) is a protocol used to establish security associations in IPsec.

These vulnerabilities can lead to service disruptions, unauthorized access, or denial of service.

You can update the libreswan package by following the instructions provided by your Linux distribution or package manager.

Related vulnerabilities

Recent vulnerabilities recorded for libreswan.

How To Fix

Minimum fixed version

4.12-2.el8

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