Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-21404

published high CVSS 3.1 · 7.5

Crash due to malformed relay protocol message

Published
06 Apr 2021, 20:00:15 UTC
Updated
03 Aug 2024, 18:09:16 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
syncthing — syncthing< 1.15.0 Affected Not stated GitHub_M
Alpine Linux edge syncthing Fixed 1.15.1-r0 Package fix record
SUSE / openSUSE openSUSE-Leap-15.2 syncthingx86_64 Advisory build 1.15.1-lp152.2.3.1 OPENSUSE-SU-2021:0688-1
Alpine Linux v3.13 syncthing Fixed 1.12.1-r1 Package fix record
Alpine Linux v3.14 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.15 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.16 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.17 syncthing Fixed 1.15.1-r0 Package fix record
Show 16 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.18 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.19 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.20 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.21 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.22 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.23 syncthing Fixed 1.15.1-r0 Package fix record
Alpine Linux v3.24 syncthing Fixed 1.15.1-r0 Package fix record
SUSE / openSUSE openSUSE-Tumbleweed syncthingaarch64 Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1
SUSE / openSUSE openSUSE-Tumbleweed syncthingppc64le Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1
SUSE / openSUSE openSUSE-Tumbleweed syncthings390x Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1
SUSE / openSUSE openSUSE-Tumbleweed syncthingx86_64 Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1
SUSE / openSUSE openSUSE-Leap-15.2 syncthing-relaysrvx86_64 Advisory build 1.15.1-lp152.2.3.1 OPENSUSE-SU-2021:0688-1
SUSE / openSUSE openSUSE-Tumbleweed syncthing-relaysrvaarch64 Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1
SUSE / openSUSE openSUSE-Tumbleweed syncthing-relaysrvppc64le Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1
SUSE / openSUSE openSUSE-Tumbleweed syncthing-relaysrvs390x Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1
SUSE / openSUSE openSUSE-Tumbleweed syncthing-relaysrvx86_64 Advisory build 1.18.2-2.1 OPENSUSE-SU-2024:11417-1

Description

Syncthing is a continuous file synchronization program. In Syncthing before version 1.15.0, the relay server `strelaysrv` can be caused to crash and exit by sending a relay message with a negative length field. Similarly, Syncthing itself can crash for the same reason if given a malformed message from a malicious relay server when attempting to join the relay. Relay joins are essentially random (from a subset of low latency relays) and Syncthing will by default restart when crashing, at which point it's likely to pick another non-malicious relay. This flaw is fixed in version 1.15.0.

en · GitHub_M · cna

Vendor advisories explicitly linked to this CVE.

15

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
7.5 / 10
Severity
high
Provider
GitHub_M · cna
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
syncthing syncthing < 1.15.0 (affected) GitHub_M · cna

Weaknesses

1
  • CWE-20 CWE-20 Improper Input Validation (GitHub_M · cna)

References

4

Provider assertions

2

GitHub_M · cna

Crash due to malformed relay protocol message

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
43cf31bed8cbab0262595cb11f9e2c23ed9611ce38fa2343e813510bc28ce88e
Ingested
23 Sep 2026, 07:52:31 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected