[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



#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
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs