balenaEtcher gets "Connection to etcher-util failed" on Ubuntu 22.04.4 LTS

I installed and ran Etcher on Ubuntu Linux 22.04.4 LTS like this:

unzip balenaEtcher-linux-x64-1.19.21.zip
cd balenaEtcher-linux-x64
./balena-etcher

I chose the ISO (its checksum is correct) and the flash drive, then clicked on “Flash”. I received the following error message:

Something went wrong. If it is a compressed image, please check that the archive is not corrupted.

Connection to etcher-util failed

How can I fix this problem?