Article View: linux.debian.bugs.dist
Article #740Bug#1150205: [Pkg-privacy-maintainers] Bug#1150205: AttributeError: property 'session' of 'RequestContext' object has no setter
From: Hefee
Date: Tue, 13 Oct 2026 14:50
Date: Tue, 13 Oct 2026 14:50
120 lines
7026 bytes
7026 bytes
--nextParttcE_LoLKQM2WgdCx0XQhNg Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8"; protected-headers="v1" From: Hefee <hefee@debian.org> To: 1150205@bugs.debian.org, security <security@debian.org> Cc: momfox67 <momfox67@protonmail.com> Date: Tue, 13 Oct 2026 16:30:24 +0200 Message-ID: <chDfeFD7S1-kc--Dp8Q1xg@debian.org> MIME-Version: 1.0 Control: reassign -1 flask 3.1.1-1+deb13u1 Control: tags -1 trixie Control: affects -1 onionshare Hey, this is an issue in flask/flask-socketio an not in onionshare itself. And was introduced by fixing CVE-2026-27205 within flask by backport: https://sources.debian.org/src/flask/3.1.1-1%2Bdeb13u1/debian/patches/ CVE-2026-27205-request-context-tracks-session-access.patch The problem is, that a commit from 3.1.3 got backported, that changes the API of flask, that is used by flask-socketio. With the fix for CVE-2026-27205 it would need to write to _session. flask-socketio has fixed that with 5.6.1. The relevant hunk is: https://github.com/miguelgrinberg/Flask-SocketIO/commit/ 956f8f2847c53d5156620b395912b7c916e15a1b#diff- d4032ca32e5dce64b1e46683f4bc8544ccefadb6e8f3e09a62152dda9c0a0578L815 This issue was reported two times already for unstable with flask-socketio < 5.6 and flask > 3.1.1: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1132356 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1136892 How we now do a follow-up? We actually need a pu for flask-socketio, or any other ideas? Regards, hefee -- On Mittwoch, 7. Oktober 2026 05:05 momfox67 wrote: > Package: onionshare-cli > Version: 2.6.3-1+deb13u2 > Severity: normal > > Dear Maintainer, > > running the following command: > > onionshare-cli --chat > > then connecting to the .onion link it outputs with the key it outputs, then > trying to type in the chat window gives the following error message and > fails to display the connection message or the typed chat message, > rendering the chat functionality completely unusable. share and receive > seem unaffected so far as i can discern - only chat is obviously broken > > Traceback (most recent call last): > File "/usr/lib/python3/dist-packages/engineio/server.py", line 450, in > run_handler return self.handlers[event](*args) > ~~~~~~~~~~~~~~~~~~~~^^^^^^^ > File "/usr/lib/python3/dist-packages/socketio/server.py", line 652, in > _handle_eio_message self._handle_connect(eio_sid, pkt.namespace, pkt.data) > ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > File "/usr/lib/python3/dist-packages/socketio/server.py", line 538, in > _handle_connect success = self._trigger_event( > 'connect', namespace, sid, self.environ[eio_sid]) > File "/usr/lib/python3/dist-packages/socketio/server.py", line 617, in > _trigger_event return handler(*args) > File "/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line > 292, in _handler return self._handle_event(handler, message, real_ns, sid, > ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > *args) > ^^^^^^ > File "/usr/lib/python3/dist-packages/flask_socketio/__init__.py", line > 816, in _handle_event ctx.session = session_obj > ^^^^^^^^^^^ > AttributeError: property 'session' of 'RequestContext' object has no setter > > -- System Information: > Debian Release: 13.7 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, > 'stable') Architecture: amd64 (x86_64) > > _______________________________________________ > Pkg-privacy-maintainers mailing list > Pkg-privacy-maintainers@alioth-lists.debian.net > https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-privacy-maintai > ners --nextParttcE_LoLKQM2WgdCx0XQhNg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEOewRoCAWtykmSRoG462wCFBgVjYFAmrOQIEACgkQ462wCFBg VjbiFRAAoS+HcZTMHzG9zdQ4s0Z9BY7DVQiPpdyBC4py+PpbEtlEaWyfXUdf3erX KV6DiPyMYAj8N7DizJI3EakikJAeVwwQsazziwD0GOcCBuql3Yned1zzrqba69lj Xxy6EFWTQGR28vzPeBfv6vCiqzjt0y6GM/FIf5a+tjDSlDBpu/AdSv7tgXBh1eMM qde9VfhABNiAlSHJuv0uVpMWJlk2au8vXesqCfuS0zsNLSYN8VW+Mpir95uCUatU inRF+yQLxH9aPrkOXj7qmYi6dwcOhY/lxN2izBO/B7FT3xRAmkeDCuk6MNSamBPo uksA0tted2+sTjpzMFgE2QW1f0jFIO34w1v5E5Wpq58ZRQi/oeOX1lKYsvFZ3d6d CsXZ9zoyeu1TTUK6wSfP9V8yTieQshLwb8dtjLpm6qgFcZkdthdxWbDlb2FQO+2y ev2AKX8UNeH9KJs/TBRCQrpVqd+u7QLVrr/wye39XokSlkoGnHE7nl3n47A9HFw6 kN8v0kDaFAO7dLsP+oA11+MFkt6/NaQ1SzWwbs+bShMKXWvmnQ+fUqrX3KeZdJtv zTYjgc27egc3Ls+fwMxnL994it3RHhXT2bP4IiTPUjSriTFyoFykztiwfIP8nhMG +1Afxc0pA6OTvOqqOvGk7Z1wtXD7oNkUguQFvPIY6XWvr2xBgOc= =c3wU -----END PGP SIGNATURE----- --nextParttcE_LoLKQM2WgdCx0XQhNg--
Technical Details
Message-ID:
<NNLZg-5hAF-5@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<NLqcx-40bG-3@gated-at.bofh.it> <NLqcx-40bG-3@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.hispagatos.org!news.nntp4.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Hefee <hefee@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150205: [Pkg-privacy-maintainers] Bug#1150205: AttributeError: property 'session' of 'RequestContext' object has no setter Date: Tue, 13 Oct 2026 16:50:02 +0200 Message-ID: <NNLZg-5hAF-5@gated-at.bofh.it> References: <NLqcx-40bG-3@gated-at.bofh.it> <NLqcx-40bG-3@gated-at.bofh.it> X-Original-To: 1150205@bugs.debian.org, security <security@debian.org> X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Tue Oct 13 14:49:11 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Hefee <hefee@debian.org>, 1150205@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: pkg-privacy-maintainers@lists.alioth.debian.org X-Debian-Pr-Message: followup 1150205 X-Debian-Pr-Package: onionshare-cli X-Debian-Pr-Source: onionshare MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextParttcE_LoLKQM2WgdCx0XQhNg"; micalg="pgp-sha512"; protocol="application/pgp-signature" X-Debian-User: hefee X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996614 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 120 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Cc: momfox67 <momfox67@protonmail.com> X-Original-Date: Tue, 13 Oct 2026 16:30:24 +0200 X-Original-Message-ID: <chDfeFD7S1-kc--Dp8Q1xg@debian.org> X-Original-References: <p8xXAkbq_7SRgSsYlMCk78hMlheqsmewh4fW4XydEYPNs8smu_AWoVnmp8F48REa7Id_sbaot9E9L5K_KKSUUJvJCh8y6ykrLUHN6lqMeGY=@protonmail.com> <p8xXAkbq_7SRgSsYlMCk78hMlheqsmewh4fW4XydEYPNs8smu_AWoVnmp8F48REa7Id_sbaot9E9L5K_KKSUUJvJCh8y6ykrLUHN6lqMeGY=@protonmail.com>