Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 617942 (CVE-2017-8786)

Summary: <dev-libs/libpcre2-10.30: pcre2test.c heap-based buffer overflow
Product: Gentoo Security Reporter: GLSAMaker/CVETool Bot <glsamaker>
Component: VulnerabilitiesAssignee: Gentoo Security <security>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo-bugs, polynomial-c
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: B2 [glsa cve]
Package list:
Runtime testing required: ---
Bug Depends on: 617944    
Bug Blocks:    

Description GLSAMaker/CVETool Bot gentoo-dev 2017-05-09 07:46:36 UTC
CVE-2017-8786 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2017-8786):
  pcre2test.c in PCRE2 10.23 allows remote attackers to cause a denial of
  service (heap-based buffer overflow) or possibly have unspecified other
  impact via a crafted regular expression.
Comment 1 Agostino Sarubbo gentoo-dev 2017-05-09 18:27:22 UTC
documented at https://blogs.gentoo.org/ago/2017/04/29/libpcre-heap-based-buffer-overflow-write-in-pcre2test-c/

I guess it is A2 instead of C3
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2017-06-04 00:16:43 UTC
Upstream patch: https://vcs.pcre.org/pcre2/code/trunk/src/pcre2test.c?r1=692&r2=697
Comment 3 Thomas Deutschmann (RETIRED) gentoo-dev 2017-08-18 16:05:50 UTC
Fixed in >=dev-libs/libpcre2-10.30, stabilization will happen in bug 617944.
Comment 4 GLSAMaker/CVETool Bot gentoo-dev 2017-10-08 14:43:33 UTC
This issue was resolved and addressed in
 GLSA 201710-09 at https://security.gentoo.org/glsa/201710-09
by GLSA coordinator Aaron Bauman (b-man).