Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 5126cb1

Browse files
committed
Merge branch 'master' into develop
2 parents b3cee0c + 229eb81 commit 5126cb1

File tree

4 files changed

+68
-3
lines changed

4 files changed

+68
-3
lines changed

CHANGES.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,63 @@
1+
Synapse 1.12.0 (2020-03-23)
2+
===========================
3+
4+
No significant changes since 1.12.0rc1.
5+
6+
Debian packages and Docker images are rebuilt using the latest versions of
7+
dependency libraries, including Twisted 20.3.0. **Please see security advisory
8+
below**.
9+
10+
Security advisory
11+
-----------------
12+
13+
Synapse may be vulnerable to request-smuggling attacks when it is used with a
14+
reverse-proxy. The vulnerabilties are fixed in Twisted 20.3.0, and are
15+
described in
16+
[CVE-2020-10108](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10108)
17+
and
18+
[CVE-2020-10109](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-10109).
19+
For a good introduction to this class of request-smuggling attacks, see
20+
https://portswigger.net/research/http-desync-attacks-request-smuggling-reborn.
21+
22+
We are not aware of these vulnerabilities being exploited in the wild, and
23+
do not believe that they are exploitable with current versions of any reverse
24+
proxies. Nevertheless, we recommend that all Synapse administrators ensure that
25+
they have the latest versions of the Twisted library to ensure that their
26+
installation remains secure.
27+
28+
* Administrators using the [`matrix.org` Docker
29+
image](https://hub.docker.com/r/matrixdotorg/synapse/) or the [Debian/Ubuntu
30+
packages from
31+
`matrix.org`](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#matrixorg-packages)
32+
should ensure that they have version 1.12.0 installed: these images include
33+
Twisted 20.3.0.
34+
* Administrators who have [installed Synapse from
35+
source](https://github.com/matrix-org/synapse/blob/master/INSTALL.md#installing-from-source)
36+
should upgrade Twisted within their virtualenv by running:
37+
```sh
38+
<path_to_virtualenv>/bin/pip install 'Twisted>=20.3.0'
39+
```
40+
* Administrators who have installed Synapse from distribution packages should
41+
consult the information from their distributions.
42+
43+
The `matrix.org` Synapse instance was not vulnerable to these vulnerabilities.
44+
45+
Advance notice of change to the default `git` branch for Synapse
46+
----------------------------------------------------------------
47+
48+
Currently, the default `git` branch for Synapse is `master`, which tracks the
49+
latest release.
50+
51+
After the release of Synapse 1.13.0, we intend to change this default to
52+
`develop`, which is the development tip. This is more consistent with common
53+
practice and modern `git` usage.
54+
55+
Although we try to keep `develop` in a stable state, there may be occasions
56+
where regressions creep in. Developers and distributors who have scripts which
57+
run builds using the default branch of `Synapse` should therefore consider
58+
pinning their scripts to `master`.
59+
60+
161
Synapse 1.12.0rc1 (2020-03-19)
262
==============================
363

debian/changelog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
matrix-synapse-py3 (1.12.0) stable; urgency=medium
2+
3+
* New synapse release 1.12.0.
4+
5+
-- Synapse Packaging team <[email protected]> Mon, 23 Mar 2020 12:13:03 +0000
6+
17
matrix-synapse-py3 (1.11.1) stable; urgency=medium
28

39
* New synapse release 1.11.1.

docs/postgres.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,7 @@ underneath the database, or if a different version of the locale is used on any
7272
replicas.
7373

7474
The safest way to fix the issue is to take a dump and recreate the database with
75-
the correct `COLLATE` and `CTYPE` parameters (as per
76-
[docs/postgres.md](docs/postgres.md)). It is also possible to change the
75+
the correct `COLLATE` and `CTYPE` parameters (as shown above). It is also possible to change the
7776
parameters on a live database and run a `REINDEX` on the entire database,
7877
however extreme care must be taken to avoid database corruption.
7978

synapse/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
except ImportError:
3737
pass
3838

39-
__version__ = "1.12.0rc1"
39+
__version__ = "1.12.0"
4040

4141
if bool(os.environ.get("SYNAPSE_TEST_PATCH_LOG_CONTEXTS", False)):
4242
# We import here so that we don't have to install a bunch of deps when

0 commit comments

Comments
 (0)