⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 243692 in webkit


Ignore:
Timestamp:
Apr 1, 2019, 6:02:39 AM (7 years ago)
Author:
commit-queue@webkit.org
Message:

[GTK][WPE] Fix seccomp rule for blacklisting TIOCSTI
https://bugs.webkit.org/show_bug.cgi?id=196297

Patch by Patrick Griffis <Patrick Griffis> on 2019-04-01
Reviewed by Michael Catanzaro.

More information can be found here: https://www.exploit-db.com/exploits/46594

Note that this sandbox never made it into production so does not
warrant any CVE specific to WebKit.

  • UIProcess/Launcher/glib/BubblewrapLauncher.cpp:

(WebKit::setupSeccomp):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r243684 r243692  
     12019-04-01  Patrick Griffis  <pgriffis@igalia.com>
     2
     3        [GTK][WPE] Fix seccomp rule for blacklisting TIOCSTI
     4        https://bugs.webkit.org/show_bug.cgi?id=196297
     5
     6        Reviewed by Michael Catanzaro.
     7
     8        More information can be found here: https://www.exploit-db.com/exploits/46594
     9
     10        Note that this sandbox never made it into production so does not
     11        warrant any CVE specific to WebKit.
     12
     13        * UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
     14        (WebKit::setupSeccomp):
     15
    1162019-03-31  Wenson Hsieh  <wenson_hsieh@apple.com>
    217
  • trunk/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp

    r243449 r243692  
    556556    //    in src/setup-seccomp.c
    557557    struct scmp_arg_cmp cloneArg = SCMP_A0(SCMP_CMP_MASKED_EQ, CLONE_NEWUSER, CLONE_NEWUSER);
    558     struct scmp_arg_cmp ttyArg = SCMP_A1(SCMP_CMP_EQ, static_cast<scmp_datum_t>(TIOCSTI), static_cast<scmp_datum_t>(0));
     558    struct scmp_arg_cmp ttyArg = SCMP_A1(SCMP_CMP_MASKED_EQ, 0xFFFFFFFFu, TIOCSTI);
    559559    struct {
    560560        int scall;
Note: See TracChangeset for help on using the changeset viewer.