If openssl if a dependency of a dependency is a rebuild needed ?
as long as the app only used libssh2 library calls, then it should be fine.
An example of where a similar assumption isn't correct is that dillo.tcz.dep on x86_64 has the following entries:
wget.tcz
libXcursor.tcz
fltk-1.3.tcz
dejavu-fonts-ttf.tcz
wget.tcz.dep contains only "ca-certificates.tcz", which depends on "openssl-1.1.1.tcz". In fact both the wget.tcz and dillo.tcz extensions contain binaries that link against the OpenSSL 1.1.1 library, so those both need to be updated (I don't know about ca-certificates.tcz), even though they wouldn't appear in a list of extensions with "openssl-1.1.1.tcz" in their dep files.
This discussion made me wonder about what Debian's doing, since Debian 10 and 11 (Buster and Bullseye) both use OpenSSL 1.1.1. Debian 10 is in Long-Term-Support which offers limited security updates, and 11 is still supposed to receive full security updates until mid next year. I found
this forum discussion which explains that OpenSSL 1.1.1 is intended to still be supported there now, but nobody explains how. It links to
OpenSSL in their package tracker, but it shows that the latest update to Debian's OpenSSL 1.1.1 packages was integrating the last upstream release, OpenSSL 1.1.1w. They haven't released fixes for those mentioned vulnerabilities.
Still, if someone does patch OpenSSL 1.1.1 for Debian, it would be good if the TC openssl-1.1.1.tcz extensions could be updated with those patches (which should be downloadable from the Debian packages website) until all the programs linking against OpenSSL are rebuilt for version 3.