[Bug 2027979] [NEW] won't warn neither prevent usage of « risky » characters in labels

Coeur Noir 2027979 at bugs.launchpad.net
Mon Jul 17 11:51:32 UTC 2023


Public bug reported:

Hi,

if naming or renaming an EXT volume,

e2label lets you use any character, including / or * or $ ( and probably
others )

I'd expect at least a warning if such are to be found in a label name.

Or better, it should not be possible to use those in label names.


Example :

a at p:~$ sudo e2label /dev/sdb12 /Ti\$*
a at p:~$ 

a at p:~$ sudo e2label /dev/sdb12
/Ti$*
a at p:~$ 

a at p:~$ lsblk -fe7 | grep sdb12
└─sdb12   ext4              1.0   /Ti$*             f583e9b0-f1de-438f-8da8-c1e070407628                
a at p:~$ 

coming from https://forum.ubuntu-
fr.org/viewtopic.php?pid=22692892#p22692892 ( french )

** Affects: e2fsprogs (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/2027979

Title:
  won't warn neither prevent usage of « risky » characters in labels

Status in e2fsprogs package in Ubuntu:
  New

Bug description:
  Hi,

  if naming or renaming an EXT volume,

  e2label lets you use any character, including / or * or $ ( and
  probably others )

  I'd expect at least a warning if such are to be found in a label name.

  Or better, it should not be possible to use those in label names.

  
  Example :

  a at p:~$ sudo e2label /dev/sdb12 /Ti\$*
  a at p:~$ 

  a at p:~$ sudo e2label /dev/sdb12
  /Ti$*
  a at p:~$ 

  a at p:~$ lsblk -fe7 | grep sdb12
  └─sdb12   ext4              1.0   /Ti$*             f583e9b0-f1de-438f-8da8-c1e070407628                
  a at p:~$ 

  coming from https://forum.ubuntu-
  fr.org/viewtopic.php?pid=22692892#p22692892 ( french )

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/e2fsprogs/+bug/2027979/+subscriptions




More information about the foundations-bugs mailing list