Improper Input Validation Affecting syncthing package, versions <1.12.1~ds1-3


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.97% (78th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-SYNCTHING-5696324
  • published8 Apr 2021
  • disclosed6 Apr 2021

Introduced: 6 Apr 2021

CVE-2021-21404  (opens in a new tab)
CWE-20  (opens in a new tab)

How to fix?

Upgrade Debian:13 syncthing to version 1.12.1~ds1-3 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream syncthing package and not the syncthing package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1