New releases: 0.3.5.10, 0.4.1.9, and 0.4.2.7 (with security fixes!)
We have new releases today. If you build Tor from source, you can download the source code for 0.4.2.7 from the download page on the website. Packages should be available within the next several days, including a new Tor Browser.
This is the third stable release in the 0.4.2.x series. It backports numerous fixes from later releases, including a fix for TROVE-2020-002, a major denial-of-service vulnerability that affected all released Tor instances since 0.2.1.5-alpha. Using this vulnerability, an attacker could cause Tor instances to consume a huge amount of CPU, disrupting their operations for several seconds or minutes. This attack could be launched by anybody against a relay, or by a directory cache against any client that had connected to it. The attacker could launch this attack as much as they wanted, thereby disrupting service or creating patterns that could aid in traffic analysis. This issue was found by OSS-Fuzz, and is also tracked as CVE-2020-10592.
We do not have reason to believe that this attack is currently being exploited in the wild, but nonetheless we advise everyone to upgrade as soon as packages are available.
We're also releasing updates for our older supported series. You can find the source code for 0.3.5.10 and 0.4.1.9 from our distribution site at http://utuhewzcso.oedi.net/. You can also read the 0.3.5.10 ChangeLog and the 0.4.1.9 ChangeLog.
There's also a new alpha, described in the previous blog post.
Changes in version 0.4.2.7 - 2020-03-18
- Major bugfixes (security, denial-of-service, backport from 0.4.3.3-alpha):
- Fix a denial-of-service bug that could be used by anyone to consume a bunch of CPU on any Tor relay or authority, or by directories to consume a bunch of CPU on clients or hidden services. Because of the potential for CPU consumption to introduce observable timing patterns, we are treating this as a high-severity security issue. Fixes bug 33119; bugfix on 0.2.1.5-alpha. Found by OSS-Fuzz. We are also tracking this issue as TROVE-2020-002 and CVE-2020-10592.
- Major bugfixes (circuit padding, memory leak, backport from 0.4.3.3-alpha):
- Avoid a remotely triggered memory leak in the case that a circuit padding machine is somehow negotiated twice on the same circuit. Fixes bug 33619; bugfix on 0.4.0.1-alpha. Found by Tobias Pulls. This is also tracked as TROVE-2020-004 and CVE-2020-10593.
- Major bugfixes (directory authority, backport from 0.4.3.3-alpha):
- Directory authorities will now send a 503 (not enough bandwidth) code to clients when under bandwidth pressure. Known relays and other authorities will always be answered regardless of the bandwidth situation. Fixes bug 33029; bugfix on 0.1.2.5-alpha.
- Minor features (continuous integration, backport from 0.4.3.2-alpha):
- Stop allowing failures on the Travis CI stem tests job. It looks like all the stem hangs we were seeing before are now fixed. Closes ticket 33075.
- Minor bugfixes (bridges, backport from 0.4.3.1-alpha):
- Lowercase the configured value of BridgeDistribution before adding it to the descriptor. Fixes bug 32753; bugfix on 0.3.2.3-alpha.
- Minor bugfixes (logging, backport from 0.4.3.2-alpha):
- If we encounter a bug when flushing a buffer to a TLS connection, only log the bug once per invocation of the Tor process. Previously we would log with every occurrence, which could cause us to run out of disk space. Fixes bug 33093; bugfix on 0.3.2.2-alpha.
- Minor bugfixes (onion services v3, backport from 0.4.3.3-alpha):
- Fix an assertion failure that could result from a corrupted ADD_ONION control port command. Found by Saibato. Fixes bug 33137; bugfix on 0.3.3.1-alpha. This issue is also tracked as TROVE-2020-003.
- Minor bugfixes (rust, build, backport from 0.4.3.2-alpha):
- Fix a syntax warning given by newer versions of Rust that was creating problems for our continuous integration. Fixes bug 33212; bugfix on 0.3.5.1-alpha.
- Testing (Travis CI, backport from 0.4.3.3-alpha):
- Remove a redundant distcheck job. Closes ticket 33194.
- Sort the Travis jobs in order of speed: putting the slowest jobs first takes full advantage of Travis job concurrency. Closes ticket 33194.
- Stop allowing the Chutney IPv6 Travis job to fail. This job was previously configured to fast_finish (which requires allow_failure), to speed up the build. Closes ticket 33195.
- When a Travis chutney job fails, use chutney's new "diagnostics.sh" tool to produce detailed diagnostic output. Closes ticket 32792.
Comments
Please note that the comment area below has been archived.
Why can't you publish this…
Why can't you publish this vulnerability AFTER you upload all necessary packages?
Not all people compile from source. In fact they just apt update only.
The team that makes the…
The team that makes the source code is not the same team that makes the packages-- in fact, most of our packages are made by volunteers. By the time all the packagers have the source, the source is generally out there. Many other projects have found that trying to keep a vulnerability secret until everybody can build packages tends to result in more leaks than than they've desired.
We've been talking about when, if ever, we'd try to get the source out to "packagers only" ahead of public disclosure -- if we did something like that, it would probably be reserved for something even worse than DoS: maybe if we found a remote code execution bug or something.
Have a look at our current draft security policy for more info about how we handle this stuff.
How was the denial-of…
How was the denial-of-service vulnerability fixed? What did you do to fix it?
We'll post more detailed…
We'll post more detailed information once the fix has been out for a while.
Since many years ago we were…
Since many years ago we were connecting to Tor using InvizBox routers. Since you publish this update all the InvizBox and (OpenWrt) similar routers are crashing. The update in the routers' firmware will take even months, until then all us have no other choice to stay offline.
I cannot find the words to describe this tremendous mess in the middle of a pandemic with all the people locked up in their homes.
Write a bug report to…
Write a bug report to OpenWrt asking them to update their package:
https://openwrt.org/bugs
https://github.com/openwrt/packages/issues?q=is%3Aissue+is%3Aopen+tor
As of today (2020-03-24),
OpenWrt 19.07.2 (current stable) package repository feed is at tor version 0.4.2.5 (2019-12-09).
OpenWrt 18.06.8 (old stable) package repository feed is at tor version 0.4.1.6 (2019-09-19).
https://openwrt.org/packages/pkgdata/tor
https://downloads.openwrt.org/releases/19.07.2/packages/
https://downloads.openwrt.org/releases/18.06.8/packages/
Update: The tor package in…
Update: The tor package in OpenWrt 19.07 has been updated to 0.4.2.7, so now, go and ask your InvizBox and similar router developers.