CVE-2021-21404
published high CVSS 3.1 · 7.5Crash due to malformed relay protocol message
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
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.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| syncthing | syncthing | < 1.15.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
4Provider assertions
2GitHub_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