Description
Nanobot prior to version 0.2.1 contains a denial of service vulnerability in the Matrix channel media download handler that allows authenticated room members to exhaust process memory and bandwidth by sending media events with missing or invalid size metadata. Attackers can send multiple concurrent Matrix media events with omitted or invalid declared sizes to trigger simultaneous large media downloads that fully materialize response bodies before post-download rejection, consuming process resources until service degradation occurs.
Problem types
Allocation of Resources Without Limits or Throttling
Product status
Any version before 0.2.1
Credits
Chia Min Jun Lennon
References
github.com/HKUDS/nanobot/releases/tag/v0.2.1
github.com/HKUDS/nanobot/pull/4106
github.com/...ommit/1d4000560dfff1acb83f5c5ca8ef3ab1f092bd14
www.vulncheck.com/...rvice-via-matrix-media-download-handler