CVE-2021-21404
Syncthing Relay Length Field Denial of Service
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.
INFO
Published Date :
April 6, 2021, 8:15 p.m.
Last Modified :
Nov. 21, 2024, 5:48 a.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
---|---|---|---|---|---|---|
CVSS 2.0 | MEDIUM | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] | ||||
CVSS 3.1 | HIGH | [email protected] |
Solution
CVE-2021-21404
vulnerability.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2021-21404
.
URL | Resource |
---|---|
https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97 | Patch Third Party Advisory |
https://github.com/syncthing/syncthing/releases/tag/v1.15.0 | Release Notes Third Party Advisory |
https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h | Third Party Advisory |
https://pkg.go.dev/github.com/syncthing/syncthing | Product Third Party Advisory |
https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97 | Patch Third Party Advisory |
https://github.com/syncthing/syncthing/releases/tag/v1.15.0 | Release Notes Third Party Advisory |
https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h | Third Party Advisory |
https://pkg.go.dev/github.com/syncthing/syncthing | Product Third Party Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2021-21404
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2021-21404
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2021-21404
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2021-21404
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97 Added Reference https://github.com/syncthing/syncthing/releases/tag/v1.15.0 Added Reference https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h Added Reference https://pkg.go.dev/github.com/syncthing/syncthing -
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Initial Analysis by [email protected]
Apr. 14, 2021
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:N/I:N/A:P) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97 No Types Assigned https://github.com/syncthing/syncthing/commit/fb4fdaf4c0a79c22cad000c42ac1394e3ccb6a97 Patch, Third Party Advisory Changed Reference Type https://github.com/syncthing/syncthing/releases/tag/v1.15.0 No Types Assigned https://github.com/syncthing/syncthing/releases/tag/v1.15.0 Release Notes, Third Party Advisory Changed Reference Type https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h No Types Assigned https://github.com/syncthing/syncthing/security/advisories/GHSA-x462-89pf-6r5h Third Party Advisory Changed Reference Type https://pkg.go.dev/github.com/syncthing/syncthing No Types Assigned https://pkg.go.dev/github.com/syncthing/syncthing Product, Third Party Advisory Added CPE Configuration OR *cpe:2.3:a:syncthing:syncthing:*:*:*:*:*:*:*:* versions up to (excluding) 1.15.0
Vulnerability Scoring Details
Base CVSS Score: 7.5
Base CVSS Score: 5
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.92 }} -0.24%
score
0.74980
percentile