Bug 1684596 (CVE-2019-9210)
Summary: | CVE-2019-9210 advancecomp: integer overflow in png_compress in pngex.cc | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | msiddiqu |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | i, lupinix.fedora, than |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-03-31 22:33:41 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1684597, 1686115 | ||
Bug Blocks: | 1684598 |
Description
msiddiqu
2019-03-01 15:46:43 UTC
Created advancecomp tracking bugs for this issue: Affects: fedora-all [bug 1684597] Upstream patch: https://github.com/amadvance/advancecomp/commit/7894a6e684ce68ddff9f4f4919ab8e3911ac8040 asm reference: http://127.0.0.1:5600/static/#/asm_ticket/19558 Upstream analysis looks good. Small memory allocs occur after a addition wraps around a unsigned int. ``` │52 for(i=0;i<dy;++i) { │ │53 const unsigned char* p1 = &img_ptr[x * img_pixel + (i+y) * img_scanline]; │ │54 *p0++ = 0; │ >│55 memcpy(p0, p1, dx * img_pixel); │ │56 p0 += dx * img_pixel; │ │57 } ``` We then memcpy dx bytes, where dx is 4294967295. Segfault. This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2020:1037 https://access.redhat.com/errata/RHSA-2020:1037 This bug is now closed. Further updates for individual products will be reflected on the CVE page(s): https://access.redhat.com/security/cve/cve-2019-9210 |