Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 755164 (CVE-2019-12412) - <www-apache/libapreq2-2.15: Denial of service vulnerability (CVE-2019-12412)
Summary: <www-apache/libapreq2-2.15: Denial of service vulnerability (CVE-2019-12412)
Status: RESOLVED FIXED
Alias: CVE-2019-12412
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Gentoo Security
URL: https://www.openwall.com/lists/oss-se...
Whiteboard: B3 [noglsa]
Keywords:
Depends on: 738642 755203
Blocks:
  Show dependency tree
 
Reported: 2020-11-17 22:09 UTC by Sam James
Modified: 2022-07-02 22:04 UTC (History)
1 user (show)

See Also:
Package list:
www-apache/libapreq2-2.15-r1
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-11-17 22:09:50 UTC
CVE-2019-12412: libapreq2 null pointer dereference

Severity: important

Vendor: The Apache Software Foundation

Versions Affected:
libapreq2 2.07 to 2.13

Description:
In libapreq2 versions 2.07 through 2.13 inclusive, a flaw in the 
multipart parser can deference a null pointer leading to a process 
crash.  A remote attacker could send a request causing a process crash 
which could lead to a denial of service attack.

Mitigation:
disable the libapreq2 multipart parser

Credit:
Thanks to Max Kellerman and Salvatore Bonaccorso for finding and
reporting this issue.

References:
https://bugs.debian.org/939937
Comment 1 Larry the Git Cow gentoo-dev 2020-11-17 23:02:10 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22dc9ed6b5cc0884b2724dbc354ae63835ee3673

commit 22dc9ed6b5cc0884b2724dbc354ae63835ee3673
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2020-11-17 22:59:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2020-11-17 23:02:06 +0000

    www-apache/libapreq2: bump to 2.15
    
    Bug: https://bugs.gentoo.org/755164
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apache/libapreq2/Manifest              |  1 +
 www-apache/libapreq2/libapreq2-2.15.ebuild | 72 ++++++++++++++++++++++++++++++
 2 files changed, 73 insertions(+)
Comment 2 NATTkA bot gentoo-dev 2020-12-05 17:12:52 UTC Comment hidden (obsolete)
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2020-12-10 21:42:07 UTC
x86 stable
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-14 08:08:25 UTC
amd64 done
Comment 5 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2021-01-25 04:20:51 UTC
Ping ppc{,64}
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2021-02-25 08:55:20 UTC
ppc64 stable
Comment 7 ernsteiswuerfel archtester 2021-03-16 18:02:08 UTC
Fails to build on ppc due to bug #738642.
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-05-16 12:42:42 UTC
ppc done

all arches done
Comment 9 Larry the Git Cow gentoo-dev 2021-05-16 12:53:33 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c7ef92ac9f0fa8eec67e9efc485e2e4f2dc98c1

commit 1c7ef92ac9f0fa8eec67e9efc485e2e4f2dc98c1
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-05-16 12:52:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-05-16 12:53:22 +0000

    www-apache/libapreq2: drop 2.13-r1 (EAPI 5)
    
    Bug: https://bugs.gentoo.org/755164
    Signed-off-by: Sam James <sam@gentoo.org>

 www-apache/libapreq2/Manifest                 |  1 -
 www-apache/libapreq2/libapreq2-2.13-r1.ebuild | 63 ---------------------------
 2 files changed, 64 deletions(-)
Comment 10 John Helmert III archtester Gentoo Infrastructure gentoo-dev Security 2022-07-02 22:04:23 UTC
Low impact -> no GLSA. All done.