[tor-bugs] #24150 [Core Tor/Tor]: Memory leak in v3 hsdesc parsing with empty encrypted data.

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Nov 5 17:17:34 UTC 2017


#24150: Memory leak in v3 hsdesc parsing with empty encrypted data.
------------------------------+--------------------------------
     Reporter:  nickm         |      Owner:  nickm
         Type:  defect        |     Status:  assigned
     Priority:  Medium        |  Milestone:  Tor: 0.3.2.x-final
    Component:  Core Tor/Tor  |    Version:
     Severity:  Normal        |   Keywords:
Actual Points:                |  Parent ID:
       Points:                |   Reviewer:
      Sponsor:                |
------------------------------+--------------------------------
 When we get a v3 hsdesc where the decrypted part starts with a NUL byte,
 then decrypt_desc_layer will return 0, since the length of the output is
 0.  But "0" can also mean that there's an error in the
 decryption.

 Found with OSS-fuzz.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/24150>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list