Bug 731246 (CVE-2011-2939)
Summary: | CVE-2011-2939 Perl decode_xs heap-based buffer overflow | ||
---|---|---|---|
Product: | [Other] Security Response | Reporter: | Petr Pisar <ppisar> |
Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | cweyl, iarnell, jrusnack, kasal, lkundrak, mmaslano, ppisar, psabata, rc040203, rcvalle, tcallawa, vdanen |
Target Milestone: | --- | Keywords: | Security |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-11-03 21:16:10 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: | 743087, 743088, 743089, 743090, 743091, 743266 | ||
Bug Blocks: | 732123 |
Description
Petr Pisar
2011-08-17 06:59:05 UTC
This was assigned the name CVE-2011-2939: http://www.openwall.com/lists/oss-security/2011/08/19/17 As noted in the email, it looks like a single byte overflow that probably is not exploitable. When remaining is zero, max_alloc is 8*1024*1024 and est_alloc is zero, thus est_alloc is used for newlen. It results in resultbuf and resultbuflen being unmodified, where it should they should be at least increased by UTF8_MAXLEN. This issue could result in a 13 bytes overflow of resultbuf, which for Perl's UTF-8 is how wide can a single UTF-8 encoded character become in bytes. Created perl tracking bugs for this issue Affects: fedora-all [bug 743266] perl-5.12.4-162.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report. perl-5.14.1-188.fc16 has been pushed to the Fedora 16 stable repository. If problems still persist, please make note of it in this bug report. perl-5.12.4-147.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. This issue has been addressed in following products: Red Hat Enterprise Linux 6 Via RHSA-2011:1424 https://rhn.redhat.com/errata/RHSA-2011-1424.html |