2023-05-04 11:17:12 |
Vladimir |
bug |
|
|
added bug |
2023-05-05 22:40:27 |
Vladimir |
description |
* Ubuntu 22.04.2 LTS
* Squid 5.2-1ubuntu4.3
with basic auth configured, squid crashes when executing a request
--- stack trace ---
#0 0x000055ab70417679 in Auth::SchemeConfig::CreateAuthUser (proxy_auth=proxy_auth@entry=0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4=", al=...) at auth/SchemeConfig.cc:55
config = 0x55ab721763f0
rmb = {<Packable> = {_vptr.Packable = 0x55ab707aab28 <vtable for MemBuf+16>}, static CBDATA_MemBuf = 10, buf = 0x55ab728fa210 "", size = 0, max_capacity = 2097152000, capacity = 2048, stolen = 0}
__FUNCTION__ = <optimized out>
#1 0x000055ab7041be5d in Auth::UserRequest::authenticate (auth_user_request=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:354
proxy_auth = 0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4="
__FUNCTION__ = <optimized out>
#2 0x000055ab7041c5bc in Auth::UserRequest::tryToAuthenticateAndSetAuthUser (aUR=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:453
t = {p_ = 0x0}
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: squid 5.2-1ubuntu4.3
ProcVersionSignature: Ubuntu 5.15.0-71.78-generic 5.15.92
Uname: Linux 5.15.0-71-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 4 15:46:00 2023
InstallationDate: Installed on 2023-05-03 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: squid
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.squid.squid.conf: 2023-05-04T09:14:56.250378 |
with basic auth configured, squid crashes when executing a request
--- stack trace ---
#0 0x000055ab70417679 in Auth::SchemeConfig::CreateAuthUser (proxy_auth=proxy_auth@entry=0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4=", al=...) at auth/SchemeConfig.cc:55
config = 0x55ab721763f0
rmb = {<Packable> = {_vptr.Packable = 0x55ab707aab28 <vtable for MemBuf+16>}, static CBDATA_MemBuf = 10, buf = 0x55ab728fa210 "", size = 0, max_capacity = 2097152000, capacity = 2048, stolen = 0}
__FUNCTION__ = <optimized out>
#1 0x000055ab7041be5d in Auth::UserRequest::authenticate (auth_user_request=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:354
proxy_auth = 0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4="
__FUNCTION__ = <optimized out>
#2 0x000055ab7041c5bc in Auth::UserRequest::tryToAuthenticateAndSetAuthUser (aUR=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:453
t = {p_ = 0x0}
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: squid 5.2-1ubuntu4.3
ProcVersionSignature: Ubuntu 5.15.0-71.78-generic 5.15.92
Uname: Linux 5.15.0-71-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 4 15:46:00 2023
InstallationDate: Installed on 2023-05-03 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: squid
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.squid.squid.conf: 2023-05-04T09:14:56.250378 |
|
2023-05-05 22:59:02 |
Vladimir |
summary |
squid crash basic auth |
squid crash basic auth used delay_pools |
|
2023-05-05 23:20:03 |
Vladimir |
description |
with basic auth configured, squid crashes when executing a request
--- stack trace ---
#0 0x000055ab70417679 in Auth::SchemeConfig::CreateAuthUser (proxy_auth=proxy_auth@entry=0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4=", al=...) at auth/SchemeConfig.cc:55
config = 0x55ab721763f0
rmb = {<Packable> = {_vptr.Packable = 0x55ab707aab28 <vtable for MemBuf+16>}, static CBDATA_MemBuf = 10, buf = 0x55ab728fa210 "", size = 0, max_capacity = 2097152000, capacity = 2048, stolen = 0}
__FUNCTION__ = <optimized out>
#1 0x000055ab7041be5d in Auth::UserRequest::authenticate (auth_user_request=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:354
proxy_auth = 0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4="
__FUNCTION__ = <optimized out>
#2 0x000055ab7041c5bc in Auth::UserRequest::tryToAuthenticateAndSetAuthUser (aUR=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:453
t = {p_ = 0x0}
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: squid 5.2-1ubuntu4.3
ProcVersionSignature: Ubuntu 5.15.0-71.78-generic 5.15.92
Uname: Linux 5.15.0-71-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 4 15:46:00 2023
InstallationDate: Installed on 2023-05-03 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: squid
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.squid.squid.conf: 2023-05-04T09:14:56.250378 |
Basic authentication is defined in squid.conf (users are defined in the file "USERS.internet_plain"). A separate acl and delay_pools were defined for one of the users "luproxy"
-------------------------------------------
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/private/USERS.internet_plain
acl users_unlim proxy_auth luproxy
delay_pools 1
delay_class 1 1
delay_parameters 1 1024/1024
delay_access 1 allow users_unlim
delay_access 1 deny all
-------------------------------------------
if you run the request under the user "luproxy" - squid will crash
--- stack trace ---
#0 0x000055ab70417679 in Auth::SchemeConfig::CreateAuthUser (proxy_auth=proxy_auth@entry=0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4=", al=...) at auth/SchemeConfig.cc:55
config = 0x55ab721763f0
rmb = {<Packable> = {_vptr.Packable = 0x55ab707aab28 <vtable for MemBuf+16>}, static CBDATA_MemBuf = 10, buf = 0x55ab728fa210 "", size = 0, max_capacity = 2097152000, capacity = 2048, stolen = 0}
__FUNCTION__ = <optimized out>
#1 0x000055ab7041be5d in Auth::UserRequest::authenticate (auth_user_request=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:354
proxy_auth = 0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4="
__FUNCTION__ = <optimized out>
#2 0x000055ab7041c5bc in Auth::UserRequest::tryToAuthenticateAndSetAuthUser (aUR=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:453
t = {p_ = 0x0}
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: squid 5.2-1ubuntu4.3
ProcVersionSignature: Ubuntu 5.15.0-71.78-generic 5.15.92
Uname: Linux 5.15.0-71-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 4 15:46:00 2023
InstallationDate: Installed on 2023-05-03 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: squid
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.squid.squid.conf: 2023-05-04T09:14:56.250378 |
|
2023-05-05 23:22:45 |
Vladimir |
description |
Basic authentication is defined in squid.conf (users are defined in the file "USERS.internet_plain"). A separate acl and delay_pools were defined for one of the users "luproxy"
-------------------------------------------
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/private/USERS.internet_plain
acl users_unlim proxy_auth luproxy
delay_pools 1
delay_class 1 1
delay_parameters 1 1024/1024
delay_access 1 allow users_unlim
delay_access 1 deny all
-------------------------------------------
if you run the request under the user "luproxy" - squid will crash
--- stack trace ---
#0 0x000055ab70417679 in Auth::SchemeConfig::CreateAuthUser (proxy_auth=proxy_auth@entry=0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4=", al=...) at auth/SchemeConfig.cc:55
config = 0x55ab721763f0
rmb = {<Packable> = {_vptr.Packable = 0x55ab707aab28 <vtable for MemBuf+16>}, static CBDATA_MemBuf = 10, buf = 0x55ab728fa210 "", size = 0, max_capacity = 2097152000, capacity = 2048, stolen = 0}
__FUNCTION__ = <optimized out>
#1 0x000055ab7041be5d in Auth::UserRequest::authenticate (auth_user_request=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:354
proxy_auth = 0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4="
__FUNCTION__ = <optimized out>
#2 0x000055ab7041c5bc in Auth::UserRequest::tryToAuthenticateAndSetAuthUser (aUR=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:453
t = {p_ = 0x0}
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: squid 5.2-1ubuntu4.3
ProcVersionSignature: Ubuntu 5.15.0-71.78-generic 5.15.92
Uname: Linux 5.15.0-71-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 4 15:46:00 2023
InstallationDate: Installed on 2023-05-03 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: squid
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.squid.squid.conf: 2023-05-04T09:14:56.250378 |
Basic authentication is defined in squid.conf (users are defined in the file "USERS.internet_plain"). A separate acl and delay_pools were defined for one of the users "luproxy"
-------------------------------------------
auth_param basic program /usr/lib/squid/basic_ncsa_auth /etc/squid/private/USERS.internet_plain
acl users_unlim proxy_auth luproxy
delay_pools 1
delay_class 1 1
delay_parameters 1 1024/1024
delay_access 1 allow users_unlim
delay_access 1 deny all
-------------------------------------------
#cat USERS.internet_plain
#
luproxy:$apr1$UpiMZE3o$n507RnSuOOIUzLBMVZ6Ea/
-------------------------------------------
if you run the request under the user "luproxy" - squid will crash
--- stack trace ---
#0 0x000055ab70417679 in Auth::SchemeConfig::CreateAuthUser (proxy_auth=proxy_auth@entry=0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4=", al=...) at auth/SchemeConfig.cc:55
config = 0x55ab721763f0
rmb = {<Packable> = {_vptr.Packable = 0x55ab707aab28 <vtable for MemBuf+16>}, static CBDATA_MemBuf = 10, buf = 0x55ab728fa210 "", size = 0, max_capacity = 2097152000, capacity = 2048, stolen = 0}
__FUNCTION__ = <optimized out>
#1 0x000055ab7041be5d in Auth::UserRequest::authenticate (auth_user_request=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:354
proxy_auth = 0x55ab75beff70 "Basic bHVwcm94eTpuY2k4dUZ1aW4="
__FUNCTION__ = <optimized out>
#2 0x000055ab7041c5bc in Auth::UserRequest::tryToAuthenticateAndSetAuthUser (aUR=0x7ffc17e859f8, headertype=Http::PROXY_AUTHORIZATION, request=0x55ab7498d9b0, conn=0x55ab74a7ec08, src_addr=..., al=...) at auth/UserRequest.cc:453
t = {p_ = 0x0}
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: squid 5.2-1ubuntu4.3
ProcVersionSignature: Ubuntu 5.15.0-71.78-generic 5.15.92
Uname: Linux 5.15.0-71-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.4
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu May 4 15:46:00 2023
InstallationDate: Installed on 2023-05-03 (0 days ago)
InstallationMedia: Ubuntu-Server 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230217.1)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
LANG=ru_RU.UTF-8
SHELL=/bin/bash
SourcePackage: squid
UpgradeStatus: No upgrade log present (probably fresh install)
mtime.conffile..etc.squid.squid.conf: 2023-05-04T09:14:56.250378 |
|
2023-05-05 23:25:26 |
Vladimir |
attachment added |
|
Stack trace https://bugs.launchpad.net/ubuntu/+source/squid/+bug/2018472/+attachment/5671331/+files/stack-trace.txt |
|
2023-05-09 15:54:59 |
Sergio Durigan Junior |
squid (Ubuntu): status |
New |
Incomplete |
|
2023-05-09 15:55:03 |
Sergio Durigan Junior |
bug |
|
|
added subscriber Sergio Durigan Junior |
2023-05-09 15:55:08 |
Sergio Durigan Junior |
bug |
|
|
added subscriber Ubuntu Server |
2023-05-13 15:23:44 |
Vladimir |
squid (Ubuntu): status |
Incomplete |
New |
|
2023-05-15 14:18:17 |
Athos Ribeiro |
squid (Ubuntu): status |
New |
Triaged |
|
2023-06-01 20:45:14 |
Sergio Durigan Junior |
bug watch added |
|
http://bugs.squid-cache.org/show_bug.cgi?id=5277 |
|
2023-06-01 20:45:14 |
Sergio Durigan Junior |
bug task added |
|
squid |
|
2023-06-01 20:47:05 |
Sergio Durigan Junior |
tags |
amd64 apport-bug jammy uec-images |
amd64 apport-bug jammy server-todo uec-images |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
nominated for series |
|
Ubuntu Jammy |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
bug task added |
|
squid (Ubuntu Jammy) |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
nominated for series |
|
Ubuntu Mantic |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
bug task added |
|
squid (Ubuntu Mantic) |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
nominated for series |
|
Ubuntu Lunar |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
bug task added |
|
squid (Ubuntu Lunar) |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
nominated for series |
|
Ubuntu Kinetic |
|
2023-06-01 20:47:21 |
Sergio Durigan Junior |
bug task added |
|
squid (Ubuntu Kinetic) |
|
2023-06-01 20:47:30 |
Sergio Durigan Junior |
squid (Ubuntu Jammy): status |
New |
Triaged |
|
2023-06-01 20:47:32 |
Sergio Durigan Junior |
squid (Ubuntu Kinetic): status |
New |
Triaged |
|
2023-06-01 20:47:34 |
Sergio Durigan Junior |
squid (Ubuntu Lunar): status |
New |
Triaged |
|
2023-06-01 20:47:36 |
Sergio Durigan Junior |
squid (Ubuntu Jammy): assignee |
|
Sergio Durigan Junior (sergiodj) |
|
2023-06-01 20:47:38 |
Sergio Durigan Junior |
squid (Ubuntu Kinetic): assignee |
|
Sergio Durigan Junior (sergiodj) |
|
2023-06-01 20:47:40 |
Sergio Durigan Junior |
squid (Ubuntu Lunar): assignee |
|
Sergio Durigan Junior (sergiodj) |
|
2023-06-01 20:47:41 |
Sergio Durigan Junior |
squid (Ubuntu Mantic): assignee |
|
Sergio Durigan Junior (sergiodj) |
|
2023-06-28 18:58:56 |
Sergio Durigan Junior |
tags |
amd64 apport-bug jammy server-todo uec-images |
amd64 apport-bug jammy uec-images |
|