Closed
Description
I ran
$ GVim-v9.1.0228.glibc2.29-x86_64.AppImage &
$ ls -d /tmp/.mount* # get auto-mounted AppDir
# /tmp/.mount_GVim-vRwbSEr
$ ldd /tmp/.mount_GVim-vRwbSEr/usr/bin/vim | grep -E 'lzma|systemd|perl|ruby|python|lua'
liblua5.3.so.0 => /tmp/.mount_GVim-vRwbSEr/usr/bin/../lib/liblua5.3.so.0 (0x00007efc1b9f4000)
libperl.so.5.30 => /tmp/.mount_GVim-vRwbSEr/usr/bin/../lib/libperl.so.5.30 (0x00007efc1b600000)
libpython2.7.so.1.0 => /tmp/.mount_GVim-vRwbSEr/usr/bin/../lib/libpython2.7.so.1.0 (0x00007efc1b200000)
libruby-2.7.so.2.7 => /tmp/.mount_GVim-vRwbSEr/usr/bin/../lib/libruby-2.7.so.2.7 (0x00007efc1ac00000)
libsystemd.so.0 => /tmp/.mount_GVim-vRwbSEr/usr/bin/../lib/libsystemd.so.0 (0x00007efc19cc2000)
liblzma.so.5 => /tmp/.mount_GVim-vRwbSEr/usr/bin/../lib/liblzma.so.5 (0x00007efc19c74000)
Two things to note here:
- The appimages do include
libruby
,llibperl
,liblua
and (interestingly)libpython2
(but not 3) which is different from what the release notes / documentation state. I had some release note PR's coming up in any case for unrelated stuff (AppRun.extracted
), so I ended up verifying and rewriting the docs. - by now I suppose everyone has heard of the
xz
/liblzma5
/sshd
backdoor (e.g. see the Debian fallout).- in short, Debian stable doesn't seem to be affected, and the vulnerability only seems to target Debian/Redhat-patched
sshd
anyway - because the
vim-appimage
's are currently built with Ubuntu 20.04, we probably link to (and "ship") even older versions. I thinkvim
can access compression algorithms (e.g. via its embedded languages) so this might still be a relevant point - the appimage compression algorithm (for the embedded
squashfs
) isgzip
, notxz
(see below)
- in short, Debian stable doesn't seem to be affected, and the vulnerability only seems to target Debian/Redhat-patched
$ GVim-v9.1.0228.glibc2.29-x86_64.AppImage --appimage-offset
193728
$ dd if=GVim-v9.1.0228.glibc2.29-x86_64.AppImage of=/tmp/x.squashfs bs=193728 skip=1
# ...
$ file /tmp/x.squashfs
/tmp/x.squashfs: Squashfs filesystem, little endian, version 4.0, zlib compressed # ...
Metadata
Metadata
Assignees
Labels
No labels