<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>41418</bug_id>
          
          <creation_ts>2021-11-23 16:37:49 +0300</creation_ts>
          <short_desc>Выключает userns_restrict даже в режиме suid</short_desc>
          <delta_ts>2024-10-11 09:05:00 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>bubblewrap</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=29497</see_also>
    
    <see_also>https://bugzilla.altlinux.org/show_bug.cgi?id=51517</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Anton V. Boyarshinov">boyarsh</reporter>
          <assigned_to name="Yuri N. Sedunov">aris</assigned_to>
          <cc>aen</cc>
    
    <cc>aris</cc>
    
    <cc>lav</cc>
    
    <cc>ldv</cc>
    
    <cc>sem</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>205222</commentid>
    <comment_count>0</comment_count>
    <who name="Anton V. Boyarshinov">boyarsh</who>
    <bug_when>2021-11-23 16:37:49 +0300</bug_when>
    <thetext>Пакет зачем-то выключает userns_restrict даже когда собирается в режиме setuid.

Setuid-ному бинарнику положение userns_restrict по идее безразлично и не надо вносить потенциальные уязвимости во всю систему, выставляя этот переключатель в 0

Так как через libgnome-desktop3-&gt;gnome-settings-daemon пакет вытягивается практически в любую десктопную систему, проблема является блокером для дистрибутивов.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205223</commentid>
    <comment_count>1</comment_count>
    <who name="Dmitry V. Levin">ldv</who>
    <bug_when>2021-11-23 16:46:55 +0300</bug_when>
    <thetext>А для suid-root executable, по хорошему, нужен control и/или ограничение доступа по группе, но это всё-таки отдельный вопрос.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>205236</commentid>
    <comment_count>2</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-11-23 18:02:19 +0300</bug_when>
    <thetext>bubblewrap-0.5.0-alt2 -&gt; sisyphus:

 Tue Nov 23 2021 Yuri N. Sedunov &lt;aris@altlinux&gt; 0.5.0-alt2
 - disabled user namespaces in a setuid mode (ALT #41418)</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>