Your message dated Wed, 04 Nov 2026 23:34:31 +0000
with message-id <[email protected]>
and subject line Bug#1146166: fixed in mitmproxy 8.1.1-5
has caused the Debian Bug report #1146166,
regarding mitmproxy: mitmweb is broken
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1146166: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1146166
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mitmproxy
Version: 8.1.1-4
Severity: important
Dear Maintainer,
mitmweb is broken in testing after the recent patch for CVE-2025-23217
backported to 8.1.1:
- handlers not yet existing in 8.1.1 / introduced at later versions
- missing imports 'typing', 'logging', and 'secrets'
lester@bob:~$ mitmweb
Traceback (most recent call last):
File "/usr/bin/mitmweb", line 33, in <module>
sys.exit(load_entry_point('mitmproxy==8.1.1', 'console_scripts',
'mitmweb')())
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/usr/lib/python3/dist-packages/mitmproxy/tools/main.py", line 142, in
mitmweb
from mitmproxy.tools import web
File "/usr/lib/python3/dist-packages/mitmproxy/tools/web/__init__.py", line
1, in <module>
from mitmproxy.tools.web import master
File "/usr/lib/python3/dist-packages/mitmproxy/tools/web/master.py", line 14,
in <module>
from mitmproxy.tools.web import app, webaddons, static_viewer
File "/usr/lib/python3/dist-packages/mitmproxy/tools/web/app.py", line 689,
in <module>
(r"/state(?:\.json)?", State),
^^^^^
NameError: name 'State' is not defined
lester@bob:~$
I am preparing the fix for this issue.
-- System Information:
Debian Release: forky/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 7.1.8+deb14.1-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_PH:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mitmproxy depends on:
ii dpkg 1.23.7
ii fonts-font-awesome 7.3.0+dfsg-1
ii python3 3.14.6-1
ii python3-asgiref 3.12.1-1
ii python3-blinker 1.9.0-2
ii python3-brotli 1.2.0-3
ii python3-certifi 2026.7.22+ds-1
ii python3-cryptography 49.0.0-2
ii python3-flask 3.1.3-4
ii python3-h11 0.16.0-2
ii python3-h2 4.3.0-2
ii python3-hyperframe 6.1.0-2
ii python3-kaitaistruct 0.11-1
ii python3-ldap3 2.9.1-2
ii python3-msgpack 1.1.2-4
ii python3-openssl 26.4.0-1
ii python3-passlib 1.9.3-2
ii python3-protobuf 3.21.12-16
ii python3-publicsuffix2 2.20191221-5.1
ii python3-pyparsing 3.3.2-2
ii python3-pyperclip 1.11.0-1
ii python3-ruamel.yaml 0.18.14-4
ii python3-sortedcontainers 2.4.0-3
ii python3-standard-imghdr 3.13.0-5
ii python3-tornado 6.5.5-4
ii python3-urwid 3.0.4-1
ii python3-wsproto 1.3.2-3
ii python3-zstandard 0.25.0-1+b1
mitmproxy recommends no packages.
mitmproxy suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: mitmproxy
Source-Version: 8.1.1-5
Done: Emmanuel Arias <[email protected]>
We believe that the bug you reported is fixed in the latest version of
mitmproxy, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Emmanuel Arias <[email protected]> (supplier of updated mitmproxy package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 04 Nov 2026 20:04:56 -0300
Source: mitmproxy
Architecture: source
Version: 8.1.1-5
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Emmanuel Arias <[email protected]>
Closes: 1094593 1134620 1146166
Changes:
mitmproxy (8.1.1-5) unstable; urgency=medium
.
[ Lester Guerzon ]
* Team upload.
* Fix patch for CVE-2025-23217 (Closes: #1146166 and #1119682)
* Add manpage for mitmproxy (Closes: #1094593)
* Remove 1 unused lintian override
* d/watch: updated to v5
* d/control: update standards version, dh compat
- cleanup deps, remove python3-pyasn1 and python3-standard-imghdr.
* d/copyright: added 3 files with separate licenses
* d/clean: removed unnecessary clean
* Added patch 0010-remove-unreachable-return.path
* Fix CVE-2026-40606: add patch to sanitize username (Closes: #1134620)
.
[ Emmanuel Arias ]
* d/patches/0009-CVE-2025-23217-add-token-based-authentication-for-th.patch:
add DEP-3 headers.
* d/copyright: correct license for mitmproxy/contrib/urwid/raw_display.py
is LGPL-2.1+ (not LGPL-2.1).
Checksums-Sha1:
8bcc51eca9b8fe6adb8e92c9144f8d8765474519 2946 mitmproxy_8.1.1-5.dsc
53d6d9a51749891836498f4bee86004b14f2cbe4 20136 mitmproxy_8.1.1-5.debian.tar.xz
8e0a6e7eaf0843cf8b277f4b55048a954c7a9096 9148 mitmproxy_8.1.1-5_amd64.buildinfo
Checksums-Sha256:
2a79e4fa17a8918e4edce3bb5f6bacbe9f0d3dcbeee16136761c3fa6c38aaad9 2946
mitmproxy_8.1.1-5.dsc
d396d9b2afb1c6cb7b6fcc9fa1a9b26ae3c4d97b91e7819bdaa0ad88295ad82a 20136
mitmproxy_8.1.1-5.debian.tar.xz
2aa4d7ccdea646a86eee30b3c2ae598b3d390f92aa3527fe2de2ab32e9027dc9 9148
mitmproxy_8.1.1-5_amd64.buildinfo
Files:
5a87d3ce3b3f0cb38d0bf902b6c4d195 2946 net optional mitmproxy_8.1.1-5.dsc
5a95fc1c9466def58d6dec7a5c523b83 20136 net optional
mitmproxy_8.1.1-5.debian.tar.xz
42e3ba553b1d4d6b0809072cc1240ef3 9148 net optional
mitmproxy_8.1.1-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQJGBAEBCgAwFiEEE3lnVbvHK7ir4q61+p3sXeEcY/EFAmrruzsSHGVhbWFudUBk
ZWJpYW4ub3JnAAoJEPqd7F3hHGPxr9wP/RAQbNQ/hVpeeijAxJ4CTQH6s3INrX4M
A3Vhc+lIoM2nyAGvBmRIQK3bxpR+Z0bBcNiNAG2nOX32AMWb3C6xBpxqJm+Ccp+u
hYnEYc9NuWrv/kKG9h8nNQljznry+54xqFxEDoLGflpyXMdKNfMr7zRzx+arDkTx
hce8QueC4zbELPKIwKGNFQaZPpclplP+WN8MVZsDKay7o6p7oOQCWicRNGW5nKLK
eTsLTaDJP79iv+lopRp/Q3cd51VT8xBhIHVYekTG2yEetYdyGKavDfSsokkI5CX0
FFmda/O9f0CKOx33mjNCPbMSTGBB5Xtv7ghA1hpuOMUWw0KHdnSRWb4F7Gir3y/N
CkIHLmX/giyIxtnxpAZ6eJ0JL2wZoS4Ayea9v/WL/3GY5omRWHwa95+Qy2FBwqkz
/GzrfxIv+2u8M9Zllczv3SYEi4jstWFJVAt90kpO2fVM0fudz5JwRtL3Xgvoma3G
VzgWvZEe3I31zuoHApDgsSADhzWlVCQ+p8S+IXy2yRHsRDksQ19nfBq25OPcbM1N
Xsg98opRXwS1hG0guG0GXeVh3VjrBRZAslVHhnWnOLJZ36eFjgsPZ2H/LFd3i81/
+kZXdzAPUGd3jEMEfu/aQJDiiv6PD4RFcPwfu8Qq40VX7xbGKrH4RKr9ReEkzQnu
zPYy3bROLKU5
=R0ZP
-----END PGP SIGNATURE-----
pgpmnj63wswaD.pgp
Description: PGP signature
--- End Message ---