CVE-2021-21404 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97 | CVE | PatchThird Party Advisory |
| https://github.com/syncthing/syncthing/releases/tag/v1.15.0 | CVE | Release NotesThird Party Advisory |
| https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h | CVE | Third Party Advisory |
| https://pkg.go.dev/github.com/syncthing/syncthing | CVE | ProductThird Party Advisory |
| https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97 | [email protected] | PatchThird Party Advisory |
| https://github.com/syncthing/syncthing/releases/tag/v1.15.0 | [email protected] | Release NotesThird Party Advisory |
| https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h | [email protected] | Third Party Advisory |
| https://pkg.go.dev/github.com/syncthing/syncthing | [email protected] | ProductThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| syncthing syncthing | < 1.15.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Apr 14, 2021 | Initial Analysis | [email protected] |