Bug 919549 (CVE-2013-2492)
| Summary: | CVE-2013-2492 Firebird: CNCT info remote stack buffer overflow | ||
|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Kurt Seifried <kseifried> |
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | unspecified | CC: | carnil, jlieskov, makowski.fedora, rcvalle |
| Target Milestone: | --- | Keywords: | Security |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-04-01 16:18:13 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: | 919551, 919552 | ||
| Bug Blocks: | |||
|
Description
Kurt Seifried
2013-03-08 19:02:55 UTC
Created firebird tracking bugs for this issue Affects: epel-all [bug 919551] Other references: https://gist.github.com/zeroSteiner/85daef257831d904479c https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/misc/fb_cnct_group.rb http://tracker.firebirdsql.org/browse/CORE-4058 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702735#10 Index: src/remote/inet.cpp
===================================================================
--- src/remote/inet.cpp (revision 57727)
+++ src/remote/inet.cpp (revision 57728)
@@ -1252,7 +1252,7 @@
case CNCT_group:
{
const size_t length = id.getClumpLength();
- if (length != 0)
+ if (length <= sizeof(eff_gid) && length > 0)
{
eff_gid = 0;
memcpy(&eff_gid, id.getBytes(), length);
firebird-2.5.2.26539.0-2.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report. firebird-2.5.2.26539.0-2.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. firebird-2.5.2.26539.0-3.el6 has been pushed to the Fedora EPEL 6 stable repository. If problems still persist, please make note of it in this bug report. firebird-2.1.5.18496.0-4.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |