CVE-2020-1763
the libreswan Project libreswan: Out-of-bounds Read
Check your servers for CVE-2020-1763
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2020-1763 affects libreswan, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
An out-of-bounds buffer read flaw was found in the pluto daemon of libreswan from versions 3.27 till 3.31 where, an unauthenticated attacker could use this flaw to crash libreswan by sending specially-crafted IKEv1 Informational Exchange packets. The daemon respawns after the crash.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality none, integrity none, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 3.28%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 89.2% of all scored CVEs. Scores of 28 Nov 2026.
Weakness
- CWE-125 Out-of-bounds Read
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| libreswan |
affected from versions 3.27 till 3.31
|
Is my server affected?
Find the installed version of libreswan and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i libreswan
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2020-1763 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2020-1763RHEL, Rocky, Alma, Fedora
rpm -q libreswan
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2020-1763Alpine
apk list --installed | grep -i libreswanWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2020-1763
trivy image --scanners vuln IMAGE | grep CVE-2020-1763
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://libreswan.org/security/CVE-2020-1763/CVE-2020-1763.txt libreswan.org
- https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1763 bugzilla.redhat.com
- https://github.com/libreswan/libreswan/commit/471a3e41a449d7c753bc4edbba4239501bb62ba8 github.com
- DSA-4684 debian.org · vendor advisory
- GLSA-202007-21 security.gentoo.org · vendor advisory
- https://cert-portal.siemens.com/productcert/pdf/ssa-379803.pdf cert-portal.siemens.com
Other references
- https://bugzilla.redhat.com/show_bug.cgi?id=1813329 bugzilla.redhat.com
- https://us-cert.cisa.gov/ics/advisories/icsa-21-040-04 us-cert.cisa.gov
Source: the record CVE-2020-1763 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse