On Fri, Nov 06, 2026 at 03:17:01AM +0200, Alexandru-Ionut Jipa wrote:
> I rebuilt from the salsa tree at 5ab6bdf with both patches applied and
> re-ran the original request plus variants: /sfx/sub/../../secret-outside.txt,
> /sfx/sub//../../..., /sfx/sub/./../../..., /sfx/sub/%2e%2e/%2e%2e/... and
> /sfx/.hidden all return 404 now, while /sfx/marker.txt still returns 200.
> The strchrnul() + while (*ptr++) change looks right to me.
> 
> On the upstream forge: github.com/shellinabox/shellinabox has had no
> commits since January 2019 and its open issues from 2020 have no
> maintainer response, so I have nowhere useful to report this upstream.
> If you would still like a record there, I can open an issue pointing at
> #1153131 and your patch.

They are clearly not actively maintaining it but they did acceed to a
request to cut a tag corresponding to the 2.21 release recently (which
was until last year, untagged), so there is at least someone there and
other downstreams may pick it up!

The reason I suggest you post is that you have done all the research so
are probably best placed to but by all means mention that we have
applied a patch to bolster the case. Your patch may be more appropriate
upstream, although marginally larger, because it is not glibc-specific.

Reply via email to