You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2016/08/05 22:39:57 UTC
[Issue 127069] New: bundled expat version 2.1.0 has two
vulnerabilities
https://bz.apache.org/ooo/show_bug.cgi?id=127069
Issue ID: 127069
Issue Type: PATCH
Summary: bundled expat version 2.1.0 has two vulnerabilities
Product: Build Tools
Version: 4.2.0-dev
Hardware: All
OS: All
Status: CONFIRMED
Severity: Normal
Priority: P5 (lowest)
Component: external prerequisites
Assignee: issues@openoffice.apache.org
Reporter: truckman@apache.org
Created attachment 85634
--> https://bz.apache.org/ooo/attachment.cgi?id=85634&action=edit
patch to upgrade bundled expat to version 2.2.0
The version of expat (2.1.0) bundled with OpenOffice has two vulnerabilities
that are fixed in version 2.2.0:
CVE-2016-5300
CVE-2012-6702
It is not known whether these can be exploited when expat is used as part of
OpenOffice.
The attached patch upgrades the bundled version of expat to 2.2.0. One patch
is needed to the expat source, without which saxparser crashes during the
build. It has been submitted upstream, see
<https://sourceforge.net/p/expat/bugs/539/>. It is only triggered when
building expat with -DXML_UNICODE which is not the default, but this flag is
used when building the bundled expat.
This version of expat has been used with the FreeBSD port that uses
--with-system-expat. This patch has been build tested on FreeBSD in bundled
mode. This patch has also been build and run tested on Windows 7.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
Don Lewis <tr...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|CONFIRMED |RESOLVED
Resolution|--- |FIXED
--- Comment #7 from Don Lewis <tr...@apache.org> ---
Patch committed.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
Don Lewis <tr...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #85634|0 |1
is obsolete| |
--- Comment #3 from Don Lewis <tr...@apache.org> ---
Created attachment 85635
--> https://bz.apache.org/ooo/attachment.cgi?id=85635&action=edit
patch to upgrade bundled expat to version 2.2.0 (--show-copies-as-adds)
Regenerate patch with --show-copies-as-adds.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
--- Comment #6 from SVN Robot <sv...@dev.null.org> ---
"truckman" committed SVN revision 1755873 into trunk:
#i127069#: bundled expat version 2.1.0 has two vulnerabilities
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
--- Comment #4 from Andrea Pescetti <pe...@apache.org> ---
Built fine on Linux64 (current trunk + latest version of patch, with the file
copy included).
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
--- Comment #8 from Andrea Pescetti <pe...@apache.org> ---
For the record: trunk is now updated to 2.2.1, see
https://bz.apache.org/ooo/show_bug.cgi?id=127461 and a request to upgrade to
2.2.1 in the AOO414 branch for OpenOffice 4.1.4 has been sent to the dev list.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
--- Comment #2 from Don Lewis <tr...@apache.org> ---
(In reply to Andrea Pescetti from comment #1)
> Is the patch supposed to be applied to trunk? It seems it is relying on an
> existing main/expat/expat-2.2.0.patch file to be there, which is not there
> currently at http://svn.apache.org/viewvc/openoffice/trunk/main/expat/
Yes, it should be applied to trunk. In order to preserve history, I did:
svn cp main/expat/expat-2.1.0 main/expat/expat-2.2.0
before making the necessary changes to the latter.
It seems that the patch that I then created with svn diff assumes that the
svn cp has already been done. If you do that, then the patch should apply
properly. Seems kind of bogus to me, though ...
BTW, I was able to finally build and run test this on CentOS 7 and Ubuntu 12.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
Kay <ks...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kschenk@apache.org
--- Comment #5 from Kay <ks...@apache.org> ---
Good for me as well on Linux-32. So fine to commit at this point.
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
Andrea Pescetti <pe...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pescetti@apache.org
--- Comment #1 from Andrea Pescetti <pe...@apache.org> ---
Is the patch supposed to be applied to trunk? It seems it is relying on an
existing main/expat/expat-2.2.0.patch file to be there, which is not there
currently at http://svn.apache.org/viewvc/openoffice/trunk/main/expat/
--
You are receiving this mail because:
You are the assignee for the issue.
[Issue 127069] bundled expat version 2.1.0 has two vulnerabilities
Posted by bu...@apache.org.
https://bz.apache.org/ooo/show_bug.cgi?id=127069
Matthias Seidel <ms...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mseidel@apache.org
--
You are receiving this mail because:
You are the assignee for the issue.