CVE-2021-21404

HIGH

Syncthing < 1.15.0 - Denial of Service via Negative Length Relay Message

Title source: llm
STIX 2.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.

References (4)

Core 4
Core References
Product, Third Party Advisory x_refsource_misc
https://pkg.go.dev/github.com/syncthing/syncthing
Release Notes, Third Party Advisory x_refsource_misc
https://github.com/syncthing/syncthing/releases/tag/v1.15.0

Scores

CVSS v3 7.5
EPSS 0.0197
EPSS Percentile 77.9%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Details

CWE
CWE-20
Status published
Products (2)
syncthing/syncthing < 1.15.0
syncthing/syncthing 0 - 1.15.0Go
Published Apr 06, 2021
Tracked Since Feb 18, 2026