LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-19-2016, 04:01 PM   #1
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
Question webkitgtk flawed


Quote:
The WebKit rendering engine used in many Linux applications is a complete security mess. That’s the takeaway from a blog post by Michael Catanzaro, who works on GNOME’s WebKitGTK+ project. He’s sounding the alarm about a problem the open-source community needs to fix.
http://www.pcworld.com/article/30340...ulnerable.html
 
Old 02-19-2016, 10:04 PM   #2
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Banshee directly mentioned - whoops!

Well, I'd like to update webkitgtk to the latest version very often.

Last I checked, it always required a ridiculous amount of very recent system libraries, though. I'm not up for rebuilding Slackware from the ground up to get an up-to-date webkitgtk.

Edit: I've changed the 2.4.9 SlackBuild for webkitgtk 2.10.7 like this and it at least starts to build this time:

Code:
  cmake \
    -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DLIB_INSTALL_DIR=/usr/lib$LIBDIRSUFFIX  \
    -DPORT=GTK \
    -DENABLE_GEOLOCATION=OFF \
    -DUSE_LIBHYPHEN=OFF \
    -DUSE_SYSTEM_MALLOC=ON \
    -DENABLE_ACCELERATED_2D_CANVAS=ON \
    -DCMAKE_BUILD_TYPE=Release ..
Let's see if it fails or not.

Last edited by schmatzler; 02-19-2016 at 10:48 PM.
 
Old 02-19-2016, 11:03 PM   #3
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
webkitgtk 2.10 utilize a different API compared to previous 2.4.9 and both can be co-installable on one system
in SBo we have 3 different webkit: webkitgtk (use GTK2), webkitgtk3 (use GTK3), and webkit2gtk (use API2)
see here: https://slackbuilds.org/cgit/slackbu...p&q=webkit2gtk
 
1 members found this post helpful.
Old 02-19-2016, 11:21 PM   #4
schmatzler
Member
 
Registered: Jan 2011
Location: Germany
Distribution: Slackware64 -current + Multilib
Posts: 411

Rep: Reputation: 181Reputation: 181
Thanks, willysr.

But I guess this means that Banshee is stuck on 2.4.x and since development has stalled over the last year, it might be time to switch to a different media management program...
 
Old 02-20-2016, 04:23 AM   #5
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Not to mention, webkitgtk requires a VERY lengthy build time very similar to xulrunner based browsers and about as much resources.
 
Old 02-20-2016, 05:57 AM   #6
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
The original blog is worth a read. Lifting some snippets out that might be useful for this forum:

Quote:
Remember that ..WebKitGTK+ 2.4.9 was released upstream over eight months ago... It’s worth mentioning that 2.4.9 contains the fix for that serious networking backend issue .. mentioned earlier (CVE-2015-2330).
@schmatzler:
Quote:
Banshee is stuck on 2.4.x
SlackBuilds is on 2.4.9, thus in that respect, if you have followed SBo updates on your box, one hole should be plugged.....

Back to the blog: Major problems are with KDE-applications that rely on QtWebkit:
Quote:
There’s not much hope left for QtWebKit; these applications have hundreds of known vulnerabilities that will never be fixed. Applications should port to QtWebEngine, but for many applications this may not be easy or even possible... There is some effort to update QtWebKit.[If it] make its way into upstream Qt, this problem could be solved.
Upgrading of applications to the API2 version is also discussed...
Quote:
While upgrading to the WebKit2 API will be easy for most applications .., for many others it will be a significant challenge.... like GIMP and Geany that are stuck on GTK+ 2. They first have to upgrade to GTK+ 3 before they can consider upgrading to modern WebKitGTK+. GIMP is working on a GTK+ 3 port anyway (GIMP uses WebKitGTK+ for its help browser), but many applications like Geany (the IDE ..) are content to remain on GTK+ 2 forever.
But the problem remains:
Quote:
WebKitGTK+ 2.4 has not had any updates since last May, and the last real comprehensive security update was over one year ago. Since then, almost 130 vulnerabilities have been fixed in newer versions of WebKitGTK+.
and might not go away:
Quote:
How do we fix this? Well, for applications using modern WebKitGTK+, .. distributions .. have to start taking our security updates.

For applications stuck on WebKitGTK+ 2.4:

[Do not reckon on] security backports to WebKitGTK+ 2.4.

Major distributions could remove the old WebKitGTK+ compatibility packages. That will force applications to upgrade, but many will not have the manpower to do so: good applications will be lost. This is probably the only realistic way to fix the security problem, but it’s a very unfortunate one. (But don’t forget about QtWebKit. QtWebKit is based on an even older version of WebKit than WebKitGTK+ 2.4. It doesn’t make much sense to allow one insecure version of WebKit but not another.)

Or, a far more likely possibility: we could do nothing, and keep using insecure software.
 
1 members found this post helpful.
Old 02-20-2016, 09:20 PM   #7
ChuangTzu
Senior Member
 
Registered: May 2015
Location: Where ever needed
Distribution: Slackware/Salix while testing others
Posts: 1,718

Original Poster
Rep: Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857Reputation: 1857
brobr, thank you for posting the original blog link...fascinating read.
 
Old 02-25-2016, 02:00 AM   #8
cowlitzron
Member
 
Registered: Feb 2011
Location: Washington state
Distribution: Devuan Daedalus 5.0, C4C Ubuntu 22.04
Posts: 190

Rep: Reputation: 37
I was able to build WebKitGTK 2.10.7 on a Ubuntu 14.04 Trusty base. JULinux 10 which has been elevated to my primary distro and uses this base includes Midori as one of three browsers. Midori on Ubuntu uses the older 2.4.x WebKitGTK base. I did compile Midori against the new WebKit but had a bad memory leak issue which caused the memory to become full and, I also had a problem with it crashing when I backspaced in the address bar. And, with any Epiphany version older than 3.14.x not building against WebKitGTK 2.10.x, and the newest Epiphany version on the Trusty base being 3.12 it's too risky to try and build Epiphany 3.14 on the Trusty base outside of a fake root. Slackware users would only run Epiphany if they have Dropline GNOME which does have a 3.14 version for Slackware 14.1. The only other browsers I know of that run WebKit2GTK are minimalist browsers which do not have bookmarks. The following is a screenshot on which I have the Lariza Browser which runs WebKit2 on the left and Midori with WebKit1 on the right both with html5test.com.

Click image for larger version

Name:	WebKit2-Midori-screenshot2.png
Views:	34
Size:	70.5 KB
ID:	20952

I usually browse with Pale Moon which has many security updates having recently switched from SeaMonkey as my main browser. I have FossaMail as my email client which is a fork of Thunderbird put out by the same group as Pale Moon.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling webkitgtk on raspberry pi Bart_ Slackware - ARM 14 03-27-2021 11:37 AM
[SOLVED] webkitgtk compiling problem in 14.1 stormbr Slackware 9 11-12-2013 01:54 AM
[SOLVED] WebkitGtk Slackbuild fails pcelka Slackware 2 11-03-2012 04:50 AM
[SOLVED] Unable to build webkitgtk trademark91 Slackware 3 03-17-2012 10:47 PM
compilation error webkitgtk trillobyte Slackware 2 03-11-2012 05:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration