CVE-2010-3874: Software Security Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-jg8g-r9vq-jqfp
CWE-787
Published
Advisory Summary

CVE-2010-3874 is a MODERATE security vulnerability vulnerability (CWE-787: Out-of-bounds Write) affecting Software libraries in the Maven ecosystem. The weakness occurs when the product writes data past the end, or before the beginning, of the intended buffer.. Remediation is available in the latest vendor maintenance releases.

CVE-2010-3874 at a Glance

CVE Identifier CVE-2010-3874
GHSA Identifier GHSA-jg8g-r9vq-jqfp
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-787: Out-of-bounds Write
Affected Product Software
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2010-3874

To remediate this vulnerability, upgrade all affected Software dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2010-3874, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree

Analyze the terminal output to locate any version of Software in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-787: Out-of-bounds Write, where the product writes data past the end, or before the beginning, of the intended buffer. In Software, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Heap-based buffer overflow in the bcm_connect function in net/can/bcm.c (aka the Broadcast Manager) in the Controller Area Network (CAN) implementation in the Linux kernel before 2.6.36.2 on 64-bit platforms might allow local users to cause a denial of service (memory corruption) via a connect operation.

References

NVD — CVE-2010-3874 NVD
https://nvd.nist.gov/vuln/detail/CVE-2010-3874
bugzilla.redhat.com/show_bug.cgi WEB
https://bugzilla.redhat.com/show_bug.cgi?id=649695
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=0597d1b99fcfc2c0eada09a698f85ed413d4ba84
git.kernel.org/ WEB
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0597d1b99fcfc2c0eada09a698f85ed413d4ba84
lists.fedoraproject.org/pipermail/package-a... WEB
http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html
Software Security Information SECURITY
http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2010/11/03/3
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2010/11/04/4
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2010/12/20/2
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2010/12/20/3
secunia.com/advisories/42745 WEB
http://secunia.com/advisories/42745
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2010/12/20/4
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2010/12/20/5
Software Security Information SECURITY
http://openwall.com/lists/oss-security/2010/12/21/1
secunia.com/advisories/42778 WEB
http://secunia.com/advisories/42778
secunia.com/advisories/42801 WEB
http://secunia.com/advisories/42801
secunia.com/advisories/42890 WEB
http://secunia.com/advisories/42890
secunia.com/advisories/42932 WEB
http://secunia.com/advisories/42932
Software Security Information SECURITY
http://www.debian.org/security/2010/dsa-2126
www.kernel.org/pub/linux/kernel/v2... WEB
http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36.2
Software Security Information SECURITY
http://www.mandriva.com/security/advisories?name=MDVSA-2011:029
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2010-0958.html
www.redhat.com/support/errata/rhsa... WEB
http://www.redhat.com/support/errata/RHSA-2011-0007.html
www.spinics.net/lists/netdev/msg145... WEB
http://www.spinics.net/lists/netdev/msg145791.html
www.spinics.net/lists/netdev/msg146... WEB
http://www.spinics.net/lists/netdev/msg146469.html
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2010/3321
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/0012
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/0124
www.vupen.com/english/advisories/... WEB
http://www.vupen.com/english/advisories/2011/0298

Frequently Asked Questions

What is CVE-2010-3874?
CVE-2010-3874 is a security vulnerability in Software classified as a security vulnerability vulnerability under CWE-787: Out-of-bounds Write.
Which Software versions are affected?
Affected versions include releases prior to current release patches.
What version fixes CVE-2010-3874?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
What CWE is associated with CVE-2010-3874?
CVE-2010-3874 is classified under CWE-787: Out-of-bounds Write (The product writes data past the end, or before the beginning, of the intended buffer.).
How can I check Maven dependencies for CVE-2010-3874?
Run the dependency tree command: 'mvn dependency:tree'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-jg8g-r9vq-jqfp",
  "modified" : "2022-05-13T01:23:33Z",
  "published" : "2022-05-13T01:23:33Z",
  "aliases" : [ "CVE-2010-3874" ],
  "details" : "Heap-based buffer overflow in the bcm_connect function in net/can/bcm.c (aka the Broadcast Manager) in the Controller Area Network (CAN) implementation in the Linux kernel before 2.6.36.2 on 64-bit platforms might allow local users to cause a denial of service (memory corruption) via a connect operation.",
  "severity" : [ ],
  "affected" : [ ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2010-3874"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=649695"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git%3Ba=commit%3Bh=0597d1b99fcfc2c0eada09a698f85ed413d4ba84"
  }, {
    "type" : "WEB",
    "url" : "http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0597d1b99fcfc2c0eada09a698f85ed413d4ba84"
  }, {
    "type" : "WEB",
    "url" : "http://lists.fedoraproject.org/pipermail/package-announce/2010-December/052513.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00001.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2011-01/msg00004.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00000.html"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2010/11/03/3"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2010/11/04/4"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2010/12/20/2"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2010/12/20/3"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2010/12/20/4"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2010/12/20/5"
  }, {
    "type" : "WEB",
    "url" : "http://openwall.com/lists/oss-security/2010/12/21/1"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42745"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42778"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42801"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42890"
  }, {
    "type" : "WEB",
    "url" : "http://secunia.com/advisories/42932"
  }, {
    "type" : "WEB",
    "url" : "http://www.debian.org/security/2010/dsa-2126"
  }, {
    "type" : "WEB",
    "url" : "http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.36.2"
  }, {
    "type" : "WEB",
    "url" : "http://www.mandriva.com/security/advisories?name=MDVSA-2011:029"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2010-0958.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.redhat.com/support/errata/RHSA-2011-0007.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.spinics.net/lists/netdev/msg145791.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.spinics.net/lists/netdev/msg146469.html"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2010/3321"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/0012"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/0124"
  }, {
    "type" : "WEB",
    "url" : "http://www.vupen.com/english/advisories/2011/0298"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-787" ],
    "severity" : "MODERATE",
    "github_reviewed" : false,
    "github_reviewed_at" : null,
    "nvd_published_at" : "2010-12-29T18:00:00Z"
  }
}