7.2
CWE
189 119 190
Advisory Published
CVE Published
Updated

CVE-2008-2358: Buffer Overflow

First published: Mon May 19 2008(Updated: )

Description of problem: Backport the feature length validation. Without this it's possible for rlen to ovelflow to 0, causing kmalloc(0), and a heap overflow during DCCP feature reconciliation. rlen = 1 + opt->dccpop_len; rpref = kmalloc(rlen, GFP_ATOMIC); memcpy(&rpref[1], opt->dccpop_val, opt->dccpop_len); Thanks to Brandon Edwards of McAfee Avert labs for discovering this issue. Impact: A vulnerability exists in the DCCP implementation which can be setup and exploited by a local attacker. The vulnerability is an integer overflow which leads to a kmalloc() for 0 bytes, followed by a memory copy into the returned pointer for 255 bytes, which causes a heap overflow. This type of vulnerability can be exploited by a local attacker to gain arbitrary code execution. Version-Release number of selected component (if applicable): 2.6.17 <= x <= 2.6.20 (See the timeline for more details) Additional information: This vulnerability affects the dccp kernel module (shipped as part of the RHEL kernel updates).

Credit: secalert@redhat.com

Affected SoftwareAffected VersionHow to fix
Linux kernel=2.6.17
Linux kernel=2.6.20
Linux kernel=2.6.19
Linux kernel=2.6.18

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2008-2358?

    CVE-2008-2358 has a medium severity rating due to its potential for heap overflow.

  • How do I fix CVE-2008-2358?

    To fix CVE-2008-2358, update the Linux kernel to a version that includes the patch for feature length validation.

  • What versions of Linux Kernel are affected by CVE-2008-2358?

    CVE-2008-2358 affects Linux Kernel versions 2.6.17, 2.6.18, 2.6.19, and 2.6.20.

  • What type of vulnerability is CVE-2008-2358?

    CVE-2008-2358 is a heap overflow vulnerability that can occur during DCCP feature reconciliation.

  • Is CVE-2008-2358 a remote exploit?

    CVE-2008-2358 can potentially be exploited remotely if the affected kernel versions are exposed.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203