Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 922177 - (CVE-2013-1864) CVE-2013-1864 ptlib: denial of service processing certain XML documents
CVE-2013-1864 ptlib: denial of service processing certain XML documents
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
low Severity low
: ---
: ---
Assigned To: Red Hat Product Security
impact=low,public=20130109,reported=2...
: Security
Depends On:
Blocks: 922178
  Show dependency treegraph
 
Reported: 2013-03-15 12:37 EDT by Vincent Danen
Modified: 2017-07-01 13:55 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Vincent Danen 2013-03-15 12:37:56 EDT
A flaw in ptlib prior to 2.12.1 was fixed [1]; this prevents the "billion laughs" denial of service attack.  This attack is due to improper length checks/recursion detection during XML entity expansion.  If an attacker were able to provide as input a crafted XML document containing a large number of nested entity references, they could cause the application linked to ptlib (for example, Ekiga) to consume extreme amounts of CPU and memory.

[1] http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?view=revision&revision=28856
Comment 1 Peter Robinson 2013-03-15 12:49:58 EDT
Is this the same as RHBZ 883058? 

If so the fix was back ported to ptlib 2.10.10
Comment 2 Kurt Seifried 2013-03-15 13:07:20 EDT
Added CVE as per http://www.openwall.com/lists/oss-security/2013/03/15/7
Comment 3 Vincent Danen 2013-03-15 13:18:28 EDT
(In reply to comment #1)
> Is this the same as RHBZ 883058? 
> 
> If so the fix was back ported to ptlib 2.10.10

No, I don't believe so.  That issue is about not verifying UTF-8 prior to display leading to a crash.  This issue is about XML entity expansion and recursion, which doesn't lead to a crash but to excessive CPU/memory usage.

In bug 883058#c6 it talks about the same commit, but I don't think that reference was correct, as the upstream gnome bug for bug 883058 referenced https://git.gnome.org/browse/ekiga/commit/?id=7d09807257 as the fix, which is entirely different (ptlib/trunk/src/ptclib/pxml.cxx (this flaw) vs lib/engine/components/opal/opal-call.cpp (that bug)).
Comment 5 Huzaifa S. Sidhpurwala 2013-03-19 02:29:37 EDT
Statement:

This issue affects the version of pwlib as shipped with Red Hat Enterprise Linux 5. This issue affects the version of ptlib as shipped with Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this issue as having low security impact, a future update may address this flaw.
Comment 6 Huzaifa S. Sidhpurwala 2013-03-19 02:42:07 EDT
This issue does not affect the version of ptlib as shipped with Fedora 17 and Fedora-18

Note You need to log in before you can comment on or make changes to this bug.