Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519112 - <sys-libs/libcxx-6.0.0: resource consumption issue in C++ regex library
Summary: <sys-libs/libcxx-6.0.0: resource consumption issue in C++ regex library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://bugzilla.redhat.com/show_bug....
Whiteboard: B3 [noglsa]
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-05 08:24 UTC by Agostino Sarubbo
Modified: 2019-03-10 20:43 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2014-08-05 08:24:13 UTC
From ${URL} :

Maksymilian Arciemowicz reported a resource consumption issue in the libcxx C++ regex library. If an attacker were able to make an application using this library process a specially-crafted regular expression, it could cause the application to consume excessive 
system resources.

Original report:

http://seclists.org/fulldisclosure/2014/Aug/1

Upstream bug:

http://llvm.org/bugs/show_bug.cgi?id=20291



@maintainer(s): after the bump, in case we need to stabilize the package, please let us know if it is ready for the stabilization or not.
Comment 1 Michael Boyle 2017-06-13 02:52:26 UTC
@maintainer(s) is this bug stable? Can we send to glsa?

Mike Boyle
Gentoo Security Padawan
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-06-13 06:28:23 UTC
AFAICS upstream did not find any solution here.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-03-29 07:45:31 UTC
Apparently fixed by r313056. FWICS, this is in release_60 branch but I don't see any reference of it in release_50.
Comment 4 Michael Boyle 2018-05-08 02:55:52 UTC
@maintainer ping.
Is ok to move forward with stabilizing it?
Comment 5 Aaron Bauman (RETIRED) gentoo-dev 2019-03-10 03:53:08 UTC
Please clean vulnerable versions.
Comment 6 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-10 07:03:43 UTC
@prefix, do you need any of the old versions here?
Comment 7 Fabian Groffen gentoo-dev 2019-03-10 07:47:39 UTC
I think they are tied to the llvm versions, but it is probably time to drop support for old targets.  So, let's drop the old versions.
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-03-10 08:08:24 UTC
Ok, thanks.
Comment 9 Larry the Git Cow gentoo-dev 2019-03-10 19:53:07 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4457b2c99d536fc44e945e43f8fd7fbe09a0df60

commit 4457b2c99d536fc44e945e43f8fd7fbe09a0df60
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-03-10 18:22:23 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-03-10 19:52:56 +0000

    sys-libs/libcxx: Drop <6
    
    Bug: https://bugs.gentoo.org/519112
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-libs/libcxx/Manifest                           |   4 -
 sys-libs/libcxx/files/Makefile                     |  38 ----
 .../libcxx/files/libcxx-3.9-cmake-static-lib.patch | 196 ------------------
 sys-libs/libcxx/files/prepare_snapshot.sh          |  16 --
 sys-libs/libcxx/libcxx-3.7.1.ebuild                | 169 ----------------
 sys-libs/libcxx/libcxx-3.9.1.ebuild                | 222 ---------------------
 sys-libs/libcxx/libcxx-4.0.1.ebuild                | 213 --------------------
 sys-libs/libcxx/libcxx-5.0.2.ebuild                | 209 -------------------
 8 files changed, 1067 deletions(-)
Comment 10 Aaron Bauman (RETIRED) gentoo-dev 2019-03-10 20:43:46 UTC
(In reply to Larry the Git Cow from comment #9)
> The bug has been referenced in the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=4457b2c99d536fc44e945e43f8fd7fbe09a0df60
> 
> commit 4457b2c99d536fc44e945e43f8fd7fbe09a0df60
> Author:     Michał Górny <mgorny@gentoo.org>
> AuthorDate: 2019-03-10 18:22:23 +0000
> Commit:     Michał Górny <mgorny@gentoo.org>
> CommitDate: 2019-03-10 19:52:56 +0000
> 
>     sys-libs/libcxx: Drop <6
>     
>     Bug: https://bugs.gentoo.org/519112
>     Signed-off-by: Michał Górny <mgorny@gentoo.org>
> 
>  sys-libs/libcxx/Manifest                           |   4 -
>  sys-libs/libcxx/files/Makefile                     |  38 ----
>  .../libcxx/files/libcxx-3.9-cmake-static-lib.patch | 196 ------------------
>  sys-libs/libcxx/files/prepare_snapshot.sh          |  16 --
>  sys-libs/libcxx/libcxx-3.7.1.ebuild                | 169 ----------------
>  sys-libs/libcxx/libcxx-3.9.1.ebuild                | 222
> ---------------------
>  sys-libs/libcxx/libcxx-4.0.1.ebuild                | 213
> --------------------
>  sys-libs/libcxx/libcxx-5.0.2.ebuild                | 209 -------------------
>  8 files changed, 1067 deletions(-)

Thanks, Michał!