VYPR
High severity7.5NVD Advisory· Published Dec 3, 2017· Updated May 13, 2026

CVE-2017-8821

CVE-2017-8821

Description

In Tor before 0.2.5.16, 0.2.6 through 0.2.8 before 0.2.8.17, 0.2.9 before 0.2.9.14, 0.3.0 before 0.3.0.13, and 0.3.1 before 0.3.1.9, an attacker can cause a denial of service (application hang) via crafted PEM input that signifies a public key requiring a password, which triggers an attempt by the OpenSSL library to ask the user for the password, aka TROVE-2017-011.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

In Tor before versions 0.2.5.16, 0.2.8.17, 0.2.9.14, 0.3.0.13, and 0.3.1.9, crafted PEM input can cause a denial of service (application hang) by triggering OpenSSL to ask for a password.

Vulnerability

A denial-of-service vulnerability exists in Tor before versions 0.2.5.16, 0.2.6 through 0.2.8 before 0.2.8.17, 0.2.9 before 0.2.9.14, 0.3.0 before 0.3.0.13, and 0.3.1 before 0.3.1.9 [1]. The bug is in the handling of PEM input that indicates a public key requiring a password. When Tor processes such malformed input, it triggers an attempt by the OpenSSL library to read a passphrase from the terminal, causing the application to hang [1]. This issue is tracked as TROVE-2017-011 [1].

Exploitation

An attacker can send crafted PEM input to a Tor instance, for example via a malformed directory object [1]. Tor instances that are run without a terminal (the common case for most Tor packages) are not impacted [1]. Attackers need network access to deliver the crafted input; no authentication is required if the instance processes the input directly.

Impact

Successful exploitation causes a denial of service: the Tor instance pauses while OpenSSL waits for a passphrase that will never come, effectively hanging the application [1]. This disrupts Tor services relying on the affected instance, but does not lead to information disclosure or privilege escalation.

Mitigation

Fixed versions were released on 2017-12-01: 0.3.1.9, 0.3.0.13, 0.2.9.14, 0.2.8.17, and 0.2.5.16 [1]. All users should upgrade to one of these releases or to 0.3.2.6-alpha [1]. Tor instances without a terminal are not vulnerable and require no workaround [1].

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected products

5

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

3

News mentions

0

No linked articles in our index yet.