Improper Input Validation Affecting syncthing package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

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-UBUNTU2210-SYNCTHING-3072709
  • published9 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?

There is no fixed version for Ubuntu:22.10 syncthing.

NVD Description

Note: Versions mentioned in the description apply only to the upstream syncthing package and not the syncthing package as distributed by Ubuntu. See How to fix? for Ubuntu:22.10 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