[tor-bugs] #22447 [Core Tor/Tor]: hs: HSDir do not accept v3 descriptors properly

Tor Bug Tracker & Wiki blackhole at torproject.org
Tue May 30 14:21:24 UTC 2017


#22447: hs: HSDir do not accept v3 descriptors properly
------------------------------+--------------------------------
     Reporter:  dgoulet       |      Owner:  dgoulet
         Type:  defect        |     Status:  new
     Priority:  Very High     |  Milestone:  Tor: 0.3.0.x-final
    Component:  Core Tor/Tor  |    Version:  Tor: 0.3.0.1-alpha
     Severity:  Normal        |   Keywords:  tor-hs, prop224
Actual Points:                |  Parent ID:
       Points:  0.1           |   Reviewer:
      Sponsor:  SponsorR-can  |
------------------------------+--------------------------------
 When a v3 descriptor is uploaded, it goes through a series of validation
 including `encrypted_data_length_is_valid()` which checks for the
 encrypted data size to be a multiple of `#define
 HS_DESC_PLAINTEXT_PADDING_MULTIPLE 128` but it's not true anymore becase
 we pad up to a minimum of 10000 bytes.

 This is currently fixed upstream but wasn't backported to 030. It has been
 introduced in tor-0.3.0.1-alpha with commit cff1fd63f16.

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


More information about the tor-bugs mailing list