svn commit: r528331 - head/graphics/okular
Tobias C. Berner
tcberner at FreeBSD.org
Fri Mar 13 05:46:57 UTC 2020
Author: tcberner
Date: Fri Mar 13 05:46:56 2020
New Revision: 528331
URL: https://svnweb.freebsd.org/changeset/ports/528331
Log:
graphics/okular: add upstream security fix
https://kde.org/info/security/advisory-20200312-1.txt:
Overview
========
Okular can be tricked into executing local binaries via specially crafted
PDF files.
This binary execution can require almost no user interaction.
No parameters can be passed to those local binaries.
We have not been able to identify any binary that will cause actual damage,
be it in the hardware or software level, when run without parameters.
We remain relatively confident that for this issue to do any actual damage,
it has to run a binary specially crafted. That binary must have been deployed
to the user system via another method, be it the user downloading it directly
as an email attachment, webpage download, etc. or by the system being already
compromised.
Solution
========
- Update to Okular >= 1.10.0
- or apply the following patch:
https://invent.kde.org/kde/okular/-/commit/6a93a033b4f9248b3cd4d04689b8391df754e244
Workaround
==========
There's no real workaround other than not opening PDF files from untrusted sources.
Credits
=======
Thanks to Mickael Karatekin from Sysdream Labs for the discovery and to
Albert Astals Cid for the fix.
Security: c3600a64-64ea-11ea-bdff-e0d55e2a8bf9
Modified:
head/graphics/okular/Makefile
head/graphics/okular/distinfo
Modified: head/graphics/okular/Makefile
==============================================================================
--- head/graphics/okular/Makefile Fri Mar 13 05:39:11 2020 (r528330)
+++ head/graphics/okular/Makefile Fri Mar 13 05:46:56 2020 (r528331)
@@ -2,8 +2,11 @@
PORTNAME= okular
DISTVERSION= ${KDE_APPLICATIONS_VERSION}
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= graphics kde kde-applications
+
+PATCH_SITES= https://invent.kde.org/kde/okular/-/commit/
+PATCHFILES= 6a93a033b4f9248b3cd4d04689b8391df754e244.patch:-p1
MAINTAINER= kde at FreeBSD.org
COMMENT= KDE universal document viewer
Modified: head/graphics/okular/distinfo
==============================================================================
--- head/graphics/okular/distinfo Fri Mar 13 05:39:11 2020 (r528330)
+++ head/graphics/okular/distinfo Fri Mar 13 05:46:56 2020 (r528331)
@@ -1,3 +1,5 @@
-TIMESTAMP = 1583439045
+TIMESTAMP = 1584078208
SHA256 (KDE/applications/19.12.3/okular-19.12.3.tar.xz) = c5de22cc4292e3b7adae3f6ef6566dcba33a1dd5995fb0b968ea3e705a4c04e0
SIZE (KDE/applications/19.12.3/okular-19.12.3.tar.xz) = 7208888
+SHA256 (KDE/applications/19.12.3/6a93a033b4f9248b3cd4d04689b8391df754e244.patch) = c9541537053041e492f129e93fe118115bdf5dbe62ba8f11d529c340903df234
+SIZE (KDE/applications/19.12.3/6a93a033b4f9248b3cd4d04689b8391df754e244.patch) = 902
More information about the svn-ports-all
mailing list