Vulnerability in strongswan - Denial of Service

strongswan Updated 02 Oct 2025

Summary

10/10/2022
N/A
Yes i
Unrated
Not published

DLA-3143-1: strongswan - security update. Affects strongswan versions < 5.7.2-1+deb10u3. Fixed in 5.7.2-1+deb10u3. 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 Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

strongswan is an IPsec VPN solution that provides secure communication over the internet. It is widely used for establishing virtual private networks and ensuring the confidentiality and integrity of transmitted data. However, a vulnerability has been discovered in strongswan that could potentially lead to a denial of service (DoS) attack.

Vulnerability Detail

The vulnerability, identified as CVE-2022-40617, arises from strongswan's ability to query URLs with untrusted certificates. This behavior can be exploited by an attacker to block the fetcher thread, resulting in a DoS condition. By sending specially crafted requests with malicious certificates, an attacker could disrupt the normal operation of strongswan, rendering it unavailable for legitimate users.

How To Fix

Minimum fixed version

5.7.2-1+deb10u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade strongswan

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

Workaround

There is no known workaround for this vulnerability. It is essential to apply the provided fix by upgrading to the patched version of strongswan.

Conclusion

The vulnerability in strongswan can be exploited to launch a denial of service attack by blocking the fetcher thread with specially crafted requests. To mitigate this risk, it is recommended to upgrade to the patched version of strongswan (5.7.2-1+deb10u3 or later). For further assistance and support in addressing this vulnerability, you can reach out to DevNack.com.

See every vulnerability recorded for strongswan →

Share this vulnerability

FAQ

strongswan is an IPsec VPN solution that enables secure communication over the internet by establishing virtual private networks.

A denial of service attack is a malicious attempt to disrupt the normal functioning of a system or network, making it unavailable for legitimate users.

The vulnerability allows an attacker to trigger a denial of service condition in strongswan, rendering it unavailable for legitimate users.

No, there is no known workaround. It is crucial to apply the provided fix by upgrading to the patched version of strongswan.

You can obtain the fixed version of strongswan (5.7.2-1+deb10u3 or later) from the official Debian repository or through package management tools like apt-get.

How To Fix

Minimum fixed version

5.7.2-1+deb10u3

This is the first release that contains the fix.

sudo apt-get install --only-upgrade strongswan

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